This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]