[Devel] unixodbc memory problem

Vadim Berezniker VadimB at nbsvoice.com
Thu Apr 26 15:11:06 CEST 2007


If I enable memory debugging, the unixodbc module stops working
properly.

 

There seems to be a problem with the way result sets are converted
internally (convert_rows):

A list is allocated with a copy of the columns in the result set

str2val stores a pointer to data in the list for DB_STRING, DB_STR and
DB_BLOB values

the list is destroyed and the data is unallocated. the string pointers
in the result set are no longer valid

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openser.org/pipermail/devel/attachments/20070426/b3abe51d/attachment.htm


More information about the Devel mailing list