[sudo-commits] sudo changeset 14991:ba25344753c3

Todd C. Miller Todd.Miller at sudo.ws
Mon Aug 21 11:20:22 MDT 2023


changeset:	14991:ba25344753c3 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ba25344753c3
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Aug 21 09:21:52 2023 -0600

Log Message:
	Add sudoers_ctx_free() and use it for freeing struct sudoers context.

	This replaces sudoers_user_ctx_free() and sudoers_runas_ctx_free().

diffstat:

 MANIFEST                                    |   1 +
 plugins/sudoers/Makefile.in                 |  81 +++++++++++++++++--------
 plugins/sudoers/cvtsudoers.c                |   1 +
 plugins/sudoers/regress/fuzz/fuzz_sudoers.c |  27 +++-----
 plugins/sudoers/stubs.c                     |  14 +++-
 plugins/sudoers/sudoers.c                   |  75 +-----------------------
 plugins/sudoers/sudoers.h                   |   3 +
 plugins/sudoers/sudoers_ctx_free.c          |  92 +++++++++++++++++++++++++++++
 plugins/sudoers/testsudoers.c               |  35 +++++++++-
 plugins/sudoers/visudo.c                    |   1 +
 10 files changed, 205 insertions(+), 125 deletions(-)



More information about the sudo-commits mailing list