[sudo-commits] sudo changeset 10187:6abef15d3954

Todd C. Miller Todd.Miller at courtesan.com
Tue Sep 1 10:25:06 MDT 2015


changeset:	10187:6abef15d3954 in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/6abef15d3954
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Sep 01 10:24:59 2015 -0600

Log Message:
	When decoding base64, avoid using '=' in the decoded temporary array
	as a sentinel as it can legitimately be present.  Instead, just use
	the count of bytes stored in the temp array to determine which bytes
	to fold into the destination.

diffstat:

 plugins/sudoers/base64.c                      |  22 +++++++---------------
 plugins/sudoers/match.c                       |   6 +++++-
 plugins/sudoers/regress/parser/check_base64.c |   6 ++++++
 3 files changed, 18 insertions(+), 16 deletions(-)


More information about the sudo-commits mailing list