This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5069] env thread safety problem
- From: "t-nishiie at soft dot fujitsu dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 26 Sep 2007 09:30:35 -0000
- Subject: [Bug libc/5069] env thread safety problem
- References: <20070925030652.5069.zhangxiliang@cn.fujitsu.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.