[sudo-commits] sudo changeset 15109:7ff250c66e05
Todd C. Miller
Todd.Miller at sudo.ws
Wed Oct 18 10:25:58 MDT 2023
changeset: 15109:7ff250c66e05 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/7ff250c66e05
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Tue Oct 17 20:14:53 2023 -0600
files: lib/eventlog/regress/logwrap/check_wrap.c lib/util/mksiglist.c lib/util/mksigname.c logsrvd/sendlog.c plugins/python/regress/iohelpers.c plugins/sudoers/tsdump.c
Log Message:
Avoid using %zu or %zd with printf() and fprintf().
This prevents problems on systems where the system printf(3) is not
C99-compliant. We use our own snprintf() on such systems so that
is safe.
diffstat:
lib/eventlog/regress/logwrap/check_wrap.c | 20 ++++++++++----------
lib/util/mksiglist.c | 9 +++++++--
lib/util/mksigname.c | 9 +++++++--
logsrvd/sendlog.c | 2 +-
plugins/python/regress/iohelpers.c | 8 +++++---
plugins/sudoers/tsdump.c | 6 +++---
6 files changed, 33 insertions(+), 21 deletions(-)
More information about the sudo-commits
mailing list