[freetds] Deref null pointer in odbc_util.c

Chad Jones cjones at simdesk.com
Mon Aug 1 12:46:26 EDT 2005


Hello,

I recently came across a case while working on a unixodbc client using
freetds that led to attempting to dereference a null pointer in
odbc_set_return_params.  Unfortunately, I can't remember the exact
circumstances, but attached is the simple patch of checking the pointer
before using it.

--Chad


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: odbc_util.c.patch
Url: http://lists.ibiblio.org/pipermail/freetds/attachments/20050801/01249c5f/odbc_util.c.bat


More information about the FreeTDS mailing list