unsetenv: * rewrite; this fixes UB caused by testing a free'd pointer against NULL on entry to subsequent loops.
On 21 Aug 2017, at 10:02, Alexander Monakov <amonakov@ispras.ru> wrote:
*env functions have multiple issues including other UB and a memory leak.
http://openwall.com/lists/musl/2016/03/13/7
Alexander