[PATCH][BZ #15465] Avoid crashing with LD_DEBUG=symbols when program name is unavailable
Andreas Jaeger
aj@suse.com
Tue May 14 13:35:00 GMT 2013
On 05/14/2013 12:31 PM, Siddhesh Poyarekar wrote:
> Hi,
>
> The program name may be unavailable if the user application tampers
> with argc and argv[]. Some parts of the dynamic linker check this
> while others don't, so this patch consolidates the check and fallback
> into a single macro and updates all users. I have also added a simple
> test to verify the fix and have also verified that this does not
> result in any regressions in the testsuite.
>
> I have made mechanical changes to architectures other than x86 (even
> in ports), that I haven't tested. Could the maintainers test and give
> feedback?
Wow, the checking was really inconsistent throughout the code. I
reviewed the changes and they look fine to me,
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
More information about the Libc-alpha
mailing list