]> granicus.if.org Git - sudo/commit
In check_input() when switch()ing on the return value of read(),
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 4 May 2017 18:25:51 +0000 (12:25 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 4 May 2017 18:25:51 +0000 (12:25 -0600)
commit4e67ac56bd346152903cf023d5b2fe712eb99306
tree42e332f8c8382c17e685e935c2225fd1e2b4a3ad
parent1a047b156d0da64f89306bff927e92ee461d02f4
In check_input() when switch()ing on the return value of read(),
use the default label instead of 1 for the success case.  It is
only reading a single byte so the two are equivalent but it reads
better using default.
plugins/sudoers/sudoreplay.c