[sudo-commits] sudo changeset 9049:bd1b8c11f416

Todd C. Miller Todd.Miller at courtesan.com
Tue Oct 22 14:58:17 MDT 2013


changeset:	9049:bd1b8c11f416 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/bd1b8c11f416
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Tue Oct 22 14:58:00 2013 -0600

Log Message:
	Quiet some llvm check false positives.  The common idiom of using
	TAILQ_FIRST, TAILQ_REMOVE and free in a loop to free each entry in
	a TAILQ confuses llvm.  Use TAILQ_FOREACH_SAFE instead (which is
	probably faster anyway).

diffstat:

 plugins/sudoers/gram.c |  85 ++++++++++++++++++++++++-------------------------
 plugins/sudoers/gram.y |  81 ++++++++++++++++++++++------------------------
 src/exec.c             |  18 +++++-----
 3 files changed, 89 insertions(+), 95 deletions(-)


More information about the sudo-commits mailing list