help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Added sqlite3 driver fro tables in GMPL


From: Heinrich Schuchardt
Subject: Re: Added sqlite3 driver fro tables in GMPL
Date: Thu, 8 Oct 2020 14:17:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0

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
bug-glpk@gnu.org <bug-glpk@gnu.org>

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 !
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]