On 08.10.20 14:05, Domingo Alvarez Duarte wrote: > Hello ! > > I just added a sqlite3 driver for tables in GMPL with this commit > https://github.com/mingodad/GLPK/commit/66a2ff9ec7fd5e2506cfebceca4bab95203b9739 > , it also include the updated examples in examples/sql .
Does ODBC not work with sqlite? > > And in doing so I discovered a possible use after free in > src/mpl/mpsql.c for "xfree(sql->query);" in the ODBC driver and > "xfree(query);" in the MySQL driver. Could you, please, send a patch for the use after free to [email protected] <[email protected]> Best regards Heinrich > > To compile it (windows will need a bit more work): > > ==== > > ./autogen.sh > > ./configure --enable-sqlite --enable-dl > > ==== > > Any comment/suggestion/help is welcome ! > > Cheers ! > >
