[sudo-commits] sudo changeset 12661:cf34b0a3beba

Todd C. Miller Todd.Miller at sudo.ws
Sun Sep 27 06:53:46 MDT 2020


changeset:	12661:cf34b0a3beba in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/cf34b0a3beba
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Sep 27 06:47:19 2020 -0600

Log Message:
	Fix line number accounting when a string contains a newline.
	Strings are not allowed to span multiple lines without a continuation
	character.  Also provide a better error message if we are in the
	middle of a string and hit EOF.

diffstat:

 plugins/sudoers/regress/sudoers/test8.toke.ok |   2 +-
 plugins/sudoers/toke.c                        |  23 +++++++++++++++--------
 plugins/sudoers/toke.l                        |   7 +++++++
 3 files changed, 23 insertions(+), 9 deletions(-)



More information about the sudo-commits mailing list