Avoid read of free()d memory

Russ Allbery rra at stanford.edu
Wed Feb 14 17:32:32 UTC 2001


Alex Kiernan <alexk at demon.net> writes:

> On solaris at least, this was causing a read of free()d memory inside
> putenv:

We should just use setenv.  The fewer sprintfs we have floating around,
the better, and setenv already knows not to free the memory it passes to
putenv.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-patches mailing list