This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [Patch][BZ 14594] Demangle function pointers before testing them
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Jeff Law <law at redhat dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Thu, 20 Sep 2012 23:46:10 +0200
- Subject: Re: [Patch][BZ 14594] Demangle function pointers before testing them
- References: <505B88BC.9010503@redhat.com>
Jeff Law <law@redhat.com> writes:
> The problem is find_module tests the *mangled* pointer against NULL;
Which is correct, since the NULL pointer is never mangled.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."