[sudo-commits] sudo changeset 13534:92f8a8b86d20

Todd C. Miller Todd.Miller at sudo.ws
Tue Sep 21 19:45:17 MDT 2021


changeset:	13534:92f8a8b86d20 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/92f8a8b86d20
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Sep 21 19:01:22 2021 -0600

Log Message:
	Amend truncation fix, the real problem was the size passed to snprintf().
	sudo_rcstr_alloc() takes a length (not a size) parameter so when
	calling snprintf() we need to add one to the length.

diffstat:

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



More information about the sudo-commits mailing list