History log of /seL4-refos-master/libs/libmuslc/src/env/putenv.c
Revision Date Author Comments
# 9543656c 06-Mar-2016 Alexander Monakov <amonakov@ispras.ru>

env: avoid leaving dangling pointers in __env_map

This is the minimal fix for __putenv leaving a pointer to freed heap
storage in __env_map array, which could later on lead to errors such
as double-free.


# 57174444 11-Dec-2013 Szabolcs Nagy <nsz@port70.net>

include cleanups: remove unused headers and add feature test macros


# 31a55f23 21-Oct-2012 Rich Felker <dalias@aerifal.cx>

as an extension, have putenv("VAR") behave as unsetenv("VAR")

the behavior of putenv is left undefined if the argument does not
contain an equal sign, but traditional implementations behave this way
and gnulib replaces putenv if it doesn't do this.


# 0b44a031 11-Feb-2011 Rich Felker <dalias@aerifal.cx>

initial check-in, version 0.5.0