[sudo-cvs] CVS commit: sudo
Todd.Miller at courtesan.com
Todd.Miller at courtesan.com
Wed Oct 29 13:31:59 EDT 2008
Module Name: sudo
Committed By: millert
Date: Wed Oct 29 17:31:59 UTC 2008
Modified Files:
sudo [SUDO_1_6_9]: parse.c sudo.c testsudoers.c
Log Message:
Use MAXHOSTNAMELEN+1 when allocating host/domain name since some
systems do not include space for the NUL in the size. Also manually
NUL-terminate buffer from gethostname() since POSIX is wishy-washy on this.
To generate a diff of this commit:
cvs rdiff -u -r1.160.2.18 -r1.160.2.19 sudo/parse.c
cvs rdiff -u -r1.369.2.46 -r1.369.2.47 sudo/sudo.c
cvs rdiff -u -r1.88.2.7 -r1.88.2.8 sudo/testsudoers.c
More information about the sudo-commits
mailing list