This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
ld-2.10.1.so
- From: Allin Cottrell <cottrell at wfu dot edu>
- To: libc-help at sourceware dot org
- Date: Fri, 15 May 2009 09:35:45 -0400 (EDT)
- Subject: ld-2.10.1.so
I wonder, can anyone replicate, or explain away (or account for in
any way) the segfaults in ld-2.10.1.so that I reported here
(libc-help archive, May 13)?
As I mentioned, the segfaults resulted from dereferencing a NULL
value of the pointer variable "dl_random" in the function
_dl_setup_stack_chk_guard (defined in
sysdeps/unix/sysv/linux/dl-osinfo.h). And the problem went away
when I manually undef'd __ASSUME_AT_RANDOM, the definition of
which is the trigger for accessing dl_random (in the function
security_init in elf/rtld.c, which includes dl-osinfo.h).
FWIW, I note that in security_init, dl_random is set to NULL after
it is used.
--
Allin Cottrell
Department of Economics
Wake Forest University