[sudo-commits] sudo changeset 12573:9f513e9b10ee
Todd C. Miller
Todd.Miller at sudo.ws
Sun Aug 16 15:13:01 MDT 2020
changeset: 12573:9f513e9b10ee in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/9f513e9b10ee
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Sun Aug 16 14:59:45 2020 -0600
Log Message:
Add explicit end-of-line matching in the parser for better error messages.
A valid line in sudoers must end in a newline or EOF.
Previously, it was possible (though not documented) to have multiple
user specs on a single line. Now, each must be on its own line.
diffstat:
plugins/sudoers/gram.c | 998 +++++++++++--------------
plugins/sudoers/gram.y | 61 +-
plugins/sudoers/regress/sudoers/test5.toke.ok | 2 +-
3 files changed, 461 insertions(+), 600 deletions(-)
More information about the sudo-commits
mailing list