[sudo-commits] sudo changeset 10692:297380eb6940

Todd C. Miller Todd.Miller at courtesan.com
Thu Oct 27 06:32:47 MDT 2016

changeset:	10692:297380eb6940 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/297380eb6940
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Oct 26 11:25:59 2016 -0600

Log Message:
	Fix incorrect strncmp() lengths.  The check for USERNAME was only
	looking at the first 5 characters (copy and paste error).  The check
	for SUDO_PS1 was not checking the trailing '=' character (off by
	one error).  Found by PVS-Studio.


 plugins/sudoers/env.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

More information about the sudo-commits mailing list