[sudo-commits] sudo changeset 13004:5a70875f92fa
Todd C. Miller
Todd.Miller at sudo.ws
Wed Feb 17 19:00:38 MST 2021
changeset: 13004:5a70875f92fa in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/5a70875f92fa
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Feb 17 18:57:21 2021 -0700
Log Message:
Distinguish between EOF and error using feof(3), not ferror(3).
Our getdelim(3) emulation won't set the error flag if the error is
due to an allocation failure. This explains the premature EOF
without error seen in Bug #960.
diffstat:
plugins/sudoers/toke.c | 6 +++---
plugins/sudoers/toke.l | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
More information about the sudo-commits
mailing list