[RFA] libiberty/make-relative-prefix.c, save_string, use xmalloc over malloc
Michael Snyder
msnyder@vmware.com
Sun Mar 6 23:29:00 GMT 2011
I know the callers of save_string check its return value for null, but
by then it's too late -- we've memcpy'd over a null pointer.
OK?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: make-relative-prefix.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110306/e79975a3/attachment.txt>
More information about the Gcc-patches
mailing list