[PATCH] dereferencing a freed pointer

msnyder@sonic.net msnyder@sonic.net
Tue Jul 24 01:16:00 GMT 2007


Flagged by Coverity.  If we don't set the pointer to NULL after calling
bfd_stringtab_free, it may get called twice, in which case it will
dereference a freed pointer.

Unlikely perhaps, but possible.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: symstrtab.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20070724/e1136099/attachment.txt>


More information about the Binutils mailing list