[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sudo-commits
Subject:    [sudo-commits] sudo changeset 10692:297380eb6940
From:       "Todd C. Miller" <Todd.Miller () courtesan ! com>
Date:       2016-10-27 12:32:47
Message-ID: hg.297380eb6940.1477571567.-8302474813082147313 () xerxes ! courtesan ! com
[Download RAW message or body]

changeset:	10692:297380eb6940 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/297380eb6940
user:		Todd C. Miller <Todd.Miller@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.

diffstat:

 plugins/sudoers/env.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
____________________________________________________________
sudo-commits mailing list <sudo-commits@sudo.ws>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic