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/5069] env thread safety problem


------- Additional Comments From t-nishiie at soft dot fujitsu dot com  2007-09-26 09:30 -------
(In reply to comment #5)
Hi everyone,

Please check the source codes of each functions, again. There are some 
portions which is referring to __environ (or _environ which is an alias) 
without using getenv().

For example, the following files.

./posix/execl.c
./sysdeps/unix/sysv/linux/execve.c
./malloc/arena.c:ptmalloc_init()
and etc.

If these processings are performed at the time of realloc() having been called 
by __add_to_environ(), SIGSEGV will occur.




-- 


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

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