Avoid read of free()d memory
Russ Allbery
rra at stanford.edu
Sat Feb 24 23:41:26 UTC 2001
Alex Kiernan <alexk at demon.net> writes:
> Russ Allbery <rra at stanford.edu> writes:
>> 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.
> Hows about this one instead (sorry there'll be a couple of lines of
> skew):
Thanks, this is now in.
--
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-patches
mailing list