[sudo-commits] sudo changeset 8834:6283ee562ef4

Todd C. Miller Todd.Miller at courtesan.com
Tue Apr 16 10:16:49 MDT 2013


changeset:	8834:6283ee562ef4 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/6283ee562ef4
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Apr 16 11:52:24 2013 -0400

Log Message:
	Simplify lbuf append functions by moving the realloc code into
	lbuf_expand().  We now expand as needed each time bytes need to be
	written to the lbuf.  Also handle a NULL pointer being passed in
	for paranoia's sake.

diffstat:

 common/lbuf.c |  96 ++++++++++++++++++++++++++++------------------------------
 1 files changed, 47 insertions(+), 49 deletions(-)


More information about the sudo-commits mailing list