[sudo-commits] sudo changeset 14387:8b61266511fe
Todd C. Miller
Todd.Miller at sudo.ws
Thu Dec 15 19:53:26 MST 2022
changeset: 14387:8b61266511fe in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/8b61266511fe
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Thu Dec 15 19:49:11 2022 -0700
Log Message:
Add basic regress for JSON functions.
Fix a bug in escaped control character handling.
Roll back changes to buffer if sudo_json_add_value() fails.
diffstat:
MANIFEST | 1 +
include/sudo_json.h | 4 +-
lib/eventlog/eventlog.c | 2 +-
lib/iolog/iolog_loginfo.c | 2 +-
lib/iolog/regress/iolog_json/check_iolog_json.c | 2 +-
lib/util/Makefile.in | 31 ++-
lib/util/json.c | 58 ++++-
lib/util/regress/json/json_test.c | 233 ++++++++++++++++++++++++
lib/util/util.exp.in | 1 +
logsrvd/logsrvd_local.c | 2 +-
plugins/audit_json/audit_json.c | 4 +-
plugins/sudoers/cvtsudoers_json.c | 2 +-
12 files changed, 310 insertions(+), 32 deletions(-)
More information about the sudo-commits
mailing list