HomeFreeBSD

Only realloc() environ if we're sure that we know where it came from.

Description

Only realloc() environ if we're sure that we know where it came from.

The recent problems with sshd were due to sshd reassigning
`environ' when setenv() thinks it owns it. setenv() subsequently
realloc()s the new version of environ and *boom*

Details

Provenance
Brian Somers <brian@FreeBSD.org>Authored on Sep 20 2000, 3:05 AM
Parents
rGd9e2f78b50e0: Ignore power button and sleep button events for 5 sec.
Branches
Unknown
Tags
Unknown

Event Timeline