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 manual/4887] Wordexp() should be thread safe.


https://sourceware.org/bugzilla/show_bug.cgi?id=4887

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com
              Flags|                            |security-

--- Comment #12 from Florian Weimer <fweimer at redhat dot com> ---
POSIX 2008 removes the requirement for thread-safety in case the environment is
modified explicitly.  The other unsetenv call is in the child and thus cannot
race with threads in the parent (which are not allowed to change the
environment due to the implicit read operation in wordexp).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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