[sudo-commits] sudo changeset 12663:3e6c62ea7237

Todd C. Miller Todd.Miller at sudo.ws
Sun Sep 27 10:33:11 MDT 2020


changeset:	12663:3e6c62ea7237 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3e6c62ea7237
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Sep 27 10:05:35 2020 -0600

Log Message:
	Fix handling of a command spec without a newline at the end.
	For include files, we may need to inject a newline token now that
	the grammar requires lines to end with a newline or EOF.  There is
	no END (EOF) token processed after popping off an include file since
	everything is just treated as one big file.

diffstat:

 plugins/sudoers/toke.c |  36 ++++++++++++++++++++++++------------
 plugins/sudoers/toke.l |  30 +++++++++++++++++++++---------
 2 files changed, 45 insertions(+), 21 deletions(-)



More information about the sudo-commits mailing list