Comment #3 on issue 298 by [email protected]: all sanitizers need to intercept setenv/getenv
http://code.google.com/p/address-sanitizer/issues/detail?id=298

Some context:

Glibc says:
"Modifications of environment variables are not allowed in multi-threaded programs"
http://www.gnu.org/software/libc/manual/html_node/Environment-Access.html

POSIX says:
    "Since multi-threaded applications are not allowed to use the
    environ  variable to access or modify any environment variable
    while any other thread is concurrently modifying any environment
    variable, any function dependent on any environment variable is
    not thread-safe if another thread is modifying the environment"
https://groups.google.com/forum/#!topic/comp.unix.programmer/Jw85LMYevvY

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to