[sudo-commits] sudo changeset 10092:bc44b0fbc03b

Todd C. Miller Todd.Miller at courtesan.com
Fri Jun 26 16:19:36 MDT 2015


changeset:	10092:bc44b0fbc03b in /media/repos/sudo
details:	http://www.sudo.ws/repos/sudo/rev/bc44b0fbc03b
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Fri Jun 26 15:58:04 2015 -0600

Log Message:
	Add an error flag to the lbuf struct to simplify error checking.
	Callers of the lbuf functions now check the error flag to tell if
	a memory allocation error ocurred.

diffstat:

 include/sudo_lbuf.h        |   7 +++++-
 lib/util/lbuf.c            |  29 +++++++++++++++++++++++++++-
 lib/util/util.exp.in       |   2 +
 plugins/sudoers/ldap.c     |   5 ++++
 plugins/sudoers/parse.c    |  35 +++++++++++++++++++++------------
 plugins/sudoers/sssd.c     |   4 +++
 plugins/sudoers/sudo_nss.c |  47 ++++++++++++++++++++++++++++++++++++---------
 7 files changed, 104 insertions(+), 25 deletions(-)


More information about the sudo-commits mailing list