]> granicus.if.org Git - sudo/commit
Rewind the fd after calling sudo_filedigest(). Otherwise, when
authorTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 24 Apr 2018 02:43:04 +0000 (20:43 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Tue, 24 Apr 2018 02:43:04 +0000 (20:43 -0600)
commit64c78a61cb534d8c26a421ffb79836a2b5ab028e
treef5907a6d17b10385542ae7282f638d44aa9f3079
parent6e22da3412d218844796015d3ffc9cfa3c10de22
Rewind the fd after calling sudo_filedigest().  Otherwise, when
running a script via fexecve(), the interpreter may get EOF when
reading /dev/fd/N.  This only appears to affect BSD systems with
fdescfs.  Bug #831.
plugins/sudoers/match.c