[Bug libc/4018] segfault in ld.so on amd64

Petr dot Salinger at seznam dot cz sourceware-bugzilla@sourceware.org
Fri Feb 9 21:09:00 GMT 2007


------- Additional Comments From Petr dot Salinger at seznam dot cz  2007-02-09 21:09 -------
> Show or test case or get lost.

>From elf/rtld.c:

#define RESOLVE_MAP(sym, version, flags) \
  ((*(sym))->st_shndx == SHN_UNDEF ? 0 : &bootstrap_map)

So sym_map can become NULL even if sym is not NULL.
After that sym_map (equal to NULL) can be dereferenced.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4018

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Glibc-bugs mailing list