Comment 11 for bug 278095

Revision history for this message
Matt Zimmerman (mdz) wrote :

My guess is that something called putenv() with a pointer to memory which has been unmapped at the time that this exit handler is running. I suspect this could happen even for a string constant (e.g. in a shared library). The solution would be to use setenv() instead, which makes a copy.