[ERRATUM][PATCH] Fix _dl_ldsopath when no slash in INTERP path
Ignacy Gawędzki
uclibc at qult.net
Sun Jan 1 08:57:37 UTC 2012
On Sat, Dec 31, 2011 at 06:12:00PM -0500, thus spake Mike Frysinger:
> On Thursday 22 December 2011 19:19:01 Ignacy Gawędzki wrote:
> > When the INTERP program header contains a simple name with no slash, don't
> > crash trying to dereference a NULL pointer, but rather set _dl_ldsopath to
> > ".".
>
> what is your actual use case ?
I'm testing a dynamic loader. So I have a binary compiled with
-Wl,-Iloader.so and have a symlink called loader.so in the current directory
pointing to the actual loader I want to use. When the symlink points to
uClibc's loader, the program crashes.
--
I used to have a sig, but I've stopped smoking now.
More information about the uClibc
mailing list