[sudo-commits] sudo changeset 13662:650bb75666fb

Todd C. Miller Todd.Miller at sudo.ws
Sat Nov 20 08:04:58 MST 2021


changeset:	13662:650bb75666fb in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/650bb75666fb
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Fri Nov 19 12:29:21 2021 -0700

Log Message:
	init_parse_tree() now takes ownership of lhost and shost, if any.
	This means that lhost and shost in struct sudoers_parse_tree
	are no longer const and that free_parse_tree() will free lhost/shost.
	The only consumer that passed in lho.st/shost was the SSSD back-end
	which has been updated to avoid a double-free.

diffstat:

 plugins/sudoers/gram.c                      |  8 ++++++--
 plugins/sudoers/gram.y                      |  8 ++++++--
 plugins/sudoers/parse.h                     |  4 ++--
 plugins/sudoers/regress/fuzz/fuzz_sudoers.c |  2 +-
 plugins/sudoers/sssd.c                      |  3 ---
 5 files changed, 15 insertions(+), 10 deletions(-)



More information about the sudo-commits mailing list