[sudo-commits] sudo changeset 11285:9d9ef007ee88

Todd C. Miller Todd.Miller at sudo.ws
Wed Mar 21 12:39:55 MDT 2018


changeset:	11285:9d9ef007ee88 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/9d9ef007ee88
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Mar 21 12:11:19 2018 -0600

Log Message:
	Add free_default() to free a struct defaults pointer so we have a
	single place where we free the defaults.  A pointer to the previous
	Default's binding may be passed in to avoid freeing an already free
	binding.

diffstat:

 plugins/sudoers/defaults.c |   6 ++--
 plugins/sudoers/gram.c     |  57 +++++++++++++++++++++++++++++++--------------
 plugins/sudoers/gram.y     |  53 +++++++++++++++++++++++++++++------------
 plugins/sudoers/parse.h    |   1 +
 4 files changed, 80 insertions(+), 37 deletions(-)


More information about the sudo-commits mailing list