|
From: | Domingo Alvarez Duarte |
Subject: | Added sqlite3 driver fro tables in GMPL |
Date: | Thu, 8 Oct 2020 14:05:22 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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 .
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.
To compile it (windows will need a bit more work): ==== ./autogen.sh ./configure --enable-sqlite --enable-dl ==== Any comment/suggestion/help is welcome ! Cheers !
[Prev in Thread] | Current Thread | [Next in Thread] |