[sudo-commits] sudo changeset 12861:ef739da324bb
Todd C. Miller
Todd.Miller at sudo.ws
Mon Feb 1 15:17:54 MST 2021
changeset: 12861:ef739da324bb in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/ef739da324bb
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Feb 01 15:06:20 2021 -0700
Log Message:
Add garbage collection to the sudoers parser to clean up on error.
This makes it possible to avoid memory leaks when there is a parse error.
diffstat:
plugins/sudoers/alias.c | 4 +-
plugins/sudoers/gram.c | 933 ++++++++++++++++++++++++++++++-------------
plugins/sudoers/gram.h | 6 +-
plugins/sudoers/gram.y | 355 ++++++++++++++++-
plugins/sudoers/parse.h | 35 +
plugins/sudoers/toke.c | 186 ++++---
plugins/sudoers/toke.l | 24 +
plugins/sudoers/toke_util.c | 4 +-
8 files changed, 1154 insertions(+), 393 deletions(-)
More information about the sudo-commits
mailing list