Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/28/1999 21:21:57
Module Name:	basesrc
Committed By:	christos
Date:		Sun Aug 29 04:21:56 UTC 1999

Modified Files:
	basesrc/usr.bin/su: su.c

Log Message:
Amazing how this worked for so long. setenv(3) expects environ(7) to be
a malloc'ed pointer and it tries to realloc(3) it if it had to grow it
before. su(1) gave it a pointer from the stack which caused realloc to
core dump.


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 basesrc/usr.bin/su/su.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.