]> granicus.if.org Git - sudo/commit
Quiet some llvm check false positives. The common idiom of using
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Oct 2013 20:58:00 +0000 (14:58 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 22 Oct 2013 20:58:00 +0000 (14:58 -0600)
commite8ce021e7d4f159ddd0e20b6a79cb6709a608878
treef01de4dcb10daba38a1a9188530936b29525ba84
parent65c6f34aa4676af578d5f57e3abe32c05075a276
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).
plugins/sudoers/gram.c
plugins/sudoers/gram.y
src/exec.c