[sudo-commits] sudo changeset 12563:164a51c446da

Todd C. Miller Todd.Miller at sudo.ws
Wed Aug 12 15:31:35 MDT 2020


changeset:	12563:164a51c446da in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/164a51c446da
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Wed Aug 12 13:45:09 2020 -0600

Log Message:
	Fix some warnings from pvs-studio

diffstat:

 Makefile.in                       |   2 +-
 lib/iolog/iolog_fileio.c          |  46 +++++++++++++----------------
 lib/iolog/iolog_json.c            |  26 ++++++++--------
 lib/util/aix.c                    |   6 +-
 lib/util/sudo_debug.c             |   1 -
 logsrvd/logsrvd.c                 |  14 ++++----
 logsrvd/sendlog.c                 |  20 ++++++------
 plugins/audit_json/audit_json.c   |   4 +-
 plugins/sudoers/auth/aix_auth.c   |   2 +-
 plugins/sudoers/auth/fwtk.c       |  10 +++---
 plugins/sudoers/auth/securid5.c   |  22 +++++++-------
 plugins/sudoers/bsm_audit.c       |   8 ++--
 plugins/sudoers/cvtsudoers.c      |   2 +-
 plugins/sudoers/cvtsudoers_json.c |   8 ++--
 plugins/sudoers/cvtsudoers_ldif.c |  10 +++---
 plugins/sudoers/env.c             |   8 +++-
 plugins/sudoers/iolog.c           |   8 ++--
 plugins/sudoers/iolog_client.c    |  38 ++++++++++++------------
 plugins/sudoers/ldap.c            |   9 +++--
 plugins/sudoers/ldap_conf.c       |   6 +-
 plugins/sudoers/linux_audit.c     |   4 +-
 plugins/sudoers/logging.c         |   2 +-
 plugins/sudoers/parse.c           |  10 +++---
 plugins/sudoers/policy.c          |  10 +++---
 plugins/sudoers/set_perms.c       |  10 +++---
 plugins/sudoers/sssd.c            |   3 +-
 plugins/sudoers/sudoers.c         |  19 +++++++-----
 plugins/sudoers/sudoreplay.c      |  32 ++++++++++----------
 plugins/sudoers/testsudoers.c     |   4 +-
 plugins/sudoers/visudo.c          |  20 +++++++-----
 src/copy_file.c                   |  34 +++++++++++-----------
 src/exec.c                        |   4 +-
 src/exec_common.c                 |   2 +-
 src/exec_monitor.c                |  34 +++++++++++-----------
 src/exec_nopty.c                  |  36 +++++++++++-----------
 src/exec_pty.c                    |  60 +++++++++++++++++++-------------------
 src/load_plugins.c                |   3 +-
 src/parse_args.c                  |  26 ++++++++++------
 src/selinux.c                     |  16 +++++-----
 src/sesh.c                        |   2 +-
 src/solaris.c                     |   4 +-
 src/sudo.c                        |  11 +++---
 src/sudo_edit.c                   |  26 +++++++++-------
 src/tgetpass.c                    |  16 +++++----
 src/utmp.c                        |   6 +-
 45 files changed, 330 insertions(+), 314 deletions(-)



More information about the sudo-commits mailing list