[sudo-commits] sudo changeset 13782:3bd0505b03e2

Todd C. Miller Todd.Miller at sudo.ws
Tue Feb 8 15:46:03 MST 2022


changeset:	13782:3bd0505b03e2 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/3bd0505b03e2
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Feb 08 15:44:18 2022 -0700

Log Message:
	Don't escape double quotes (") in a command when printing it.
	Previously, cvtsudoers and "sudo -l" would escape double quotes in
	a command or command line argument, which is not valid sudoers syntax.

diffstat:

 plugins/sudoers/fmtsudoers.c                       |   4 ++--
 plugins/sudoers/parse.h                            |   4 +++-
 plugins/sudoers/regress/sudoers/test2.in           |   3 +++
 plugins/sudoers/regress/sudoers/test2.json.ok      |  17 +++++++++++++++++
 plugins/sudoers/regress/sudoers/test2.ldif.ok      |  11 +++++++++++
 plugins/sudoers/regress/sudoers/test2.ldif2sudo.ok |   3 +++
 plugins/sudoers/regress/sudoers/test2.out.ok       |   1 +
 plugins/sudoers/regress/sudoers/test2.toke.ok      |   3 +++
 8 files changed, 43 insertions(+), 3 deletions(-)



More information about the sudo-commits mailing list