[Devel] unixodbc memory problem

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed May 2 10:54:46 CEST 2007


Hi Vadim,

do you get any logs with "BUG" from the mem. debugger?

regards,
bogdan

Vadim Berezniker wrote:
>
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>   




More information about the Devel mailing list