[sudo-commits] sudo changeset 10691:7e35f39d356b

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

changeset:	10691:7e35f39d356b in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/7e35f39d356b
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Wed Oct 26 11:22:30 2016 -0600

Log Message:
	When checking for old-style bash functions in the environment, check
	for values starting with "() " (note the trailing space) rather
	than "()".  Bash will only treat the value as a function if the
	space after "()" is present.  The trailing space was already present
	in the compare string but when it was added, the length passed to
	strncmp() was not updated from 3 to 4.
	Found by PVS-Studio.  No security impact.


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

More information about the sudo-commits mailing list