[PATCH 2/2][BZ #14594] Mangle and demangle NULL pointers.

Carlos O'Donell carlos@redhat.com
Thu Oct 31 19:52:00 GMT 2013


On 10/31/2013 03:47 PM, Ondřej Bílka wrote:
> A problem here is that if a function pointer is mapped by PTR_MANGLE to
> null it is indistingushible from NULL pointer so init will not be
> called. This could be fixed by also mangling/demangling NULL pointer.
> 
> 	[BZ #14594]
> 	* iconv/gconv_cache.c: Mangle and demangle NULL pointers.
> 	* iconv/gconv_db.c: Likewise.
> 	* iconv/gconv_dl.c: Likewise.

Does this match the Fedora patch I posted for bug 14594?

That is to say, can you please use the Fedora patch to verify
that you caught all the places that were noticed during the code
review that was done to fix Fedora?

Cheers,
Carlos.



More information about the Libc-alpha mailing list