Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Mar 2015 15:09:20 -0800
From: William Ahern <>
Subject: getenv_r

I noticed that getenv is not thread-safe. Would there be any interest in
accepting a patch to implement getenv_r (a NetBSD function) and internal
locking? Other than leaving getenv, setenv, and putenv unsafe in threaded
environments, the only other alternative is the ugliness that glibc,
Solaris, and some others implement, which is basically to leak environ

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.