[PATCH-NPTL] environ heeds to be a weak_alias

Carmelo Amoroso carmelo73 at gmail.com
Mon May 28 12:56:19 UTC 2007


Hi Steve,
this patch to fix a problem into nptl branch related to strong_alias
used for data. Any code linked with the uCLibc-nptl trying to dereference
the 'environ' variable will segfault.
This has been already solved in trunk, and there are a lot of posts
into libc-alpha related to the wrong usage of strong_alias with data.

I caught a SIGSEV using busybox (env and awk applets). With this patch
it works fine.

Thanks and regards,
Carmelo
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: weak_environ.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20070528/5f79263e/attachment-0002.diff 


More information about the uClibc mailing list