[sudo-commits] sudo changeset 11730:da4a95a5d8ec

Todd C. Miller Todd.Miller at sudo.ws
Tue Jun 25 10:55:18 MDT 2019


changeset:	11730:da4a95a5d8ec in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/da4a95a5d8ec
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue Jun 25 09:45:10 2019 -0600

Log Message:
	Add ssizeof macro that returns ssize_t.
	We can use this instead of casting the result of size_t to int.
	Also change checks for snprintf() returning <=0 to <0.

diffstat:

 include/sudo_util.h                     |  3 +++
 lib/util/fatal.c                        |  2 +-
 lib/util/inet_ntop.c                    |  2 +-
 lib/util/regress/vsyslog/vsyslog_test.c |  6 +++---
 lib/util/sudo_debug.c                   |  4 ++--
 plugins/sudoers/find_path.c             |  4 ++--
 plugins/sudoers/group_plugin.c          |  2 +-
 plugins/sudoers/iolog.c                 |  4 ++--
 plugins/sudoers/ldap.c                  |  2 +-
 plugins/sudoers/ldap_conf.c             |  2 +-
 plugins/sudoers/logging.c               |  2 +-
 plugins/sudoers/sudoers.c               |  2 +-
 plugins/sudoers/sudoreplay.c            |  8 ++++----
 plugins/sudoers/timestamp.c             |  4 ++--
 src/load_plugins.c                      |  2 +-
 src/net_ifs.c                           |  6 +++---
 src/sudo.c                              |  4 ++--
 17 files changed, 31 insertions(+), 28 deletions(-)


More information about the sudo-commits mailing list