]> granicus.if.org Git - sudo/commit
Fix handling of timeout values in sudoers.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 18 Oct 2018 14:08:44 +0000 (08:08 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Thu, 18 Oct 2018 14:08:44 +0000 (08:08 -0600)
commit63afa569f77494715cb7f7d0b1d1cc790c057386
treeb3149fd06ce1efbc1b0a8b63073cb99fe1a6e053
parent675fc34c3de628ffcb53476121fcf290795c67bd
Fix handling of timeout values in sudoers.
When passing the timeout back to the front end, ignore the
user-specified timeout if it is not set (initialized to 0).
Otherwise, sudo would choose a zero user-specified timeout over
the sudoers-specified timeout (non-zero).
plugins/sudoers/policy.c