]> granicus.if.org Git - sudo/commit
Use the standard idiom for popping all entries from a tail queue.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Apr 2017 22:13:14 +0000 (16:13 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 20 Apr 2017 22:13:14 +0000 (16:13 -0600)
commit9f1afe23fe0b79936dbcf3be0bb629d16aea10d2
tree2e2a65c1b731e79f8d1f76f119cf7fd9205c94d7
parentc60259bd637fa1186d2d5279bdb61c229d27fdb7
Use the standard idiom for popping all entries from a tail queue.
The llvm checker gets confused by TAILQ_REMOVE and generate
use-after-free false positives.
src/exec_pty.c