[Axl] [PATCH] fix memory trashing

Benoit Amiaux b.amiaux at ateme.com
Fri Jan 9 15:03:14 CET 2009


Hello,

in axl_doc:3164, axl_free is called on a string which is either NULL or 
allocated on the stack.
A more complete fix would be to set detected_encoding to const char* if 
it is never meant to be released. It would require much more API changes 
though to propagate that type.

Regards,
Benoît AMIAUX
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: memtrash_fix.patch
Url: http://lists.aspl.es/pipermail/axl/attachments/20090109/e34d18e2/attachment.txt 


More information about the Axl mailing list