[PATCH] Mangle NULL pointers in iconv/gconv [BZ #22025]
Florian Weimer
fweimer@redhat.com
Tue Aug 29 13:28:00 GMT 2017
We have been carrying the attached patch for a while.
There is no test because triggering this failure is very hard even on 32
bit.
Based on my review, it fixes all NULL pointer inconsistencies except the
mangling of __end_fct after a gconv_init failure. While writing a test
for this omission I found a heap corruption, so I filed a separate bug
for these remaining issues:
<https://sourceware.org/bugzilla/show_bug.cgi?id=22026>
Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gconv-mangle.patch
Type: text/x-patch
Size: 5789 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170829/2253a249/attachment.bin>
More information about the Libc-alpha
mailing list