]> granicus.if.org Git - sudo/commit
Add io_log_read() and io_log_gets() to hide differences between
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 May 2016 20:27:33 +0000 (14:27 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 9 May 2016 20:27:33 +0000 (14:27 -0600)
commite528cad7955cc9a341527e50854db53c66fa541e
treebbd6ff671608cabbfb4640a26c55f16cfcbc0288
parentb04c49dbd312e2effdada1b3e9fcbd63eb26149c
Add io_log_read() and io_log_gets() to hide differences between
gzread/fread and gzgets/fgets.  Check for premature EOF and error
from io_log_read().  Also sanity check the index in the timing file.
Coverity CID 104630.
plugins/sudoers/sudoreplay.c