[sudo-commits] sudo changeset 12081:c59e77060c37
Todd C. Miller
Todd.Miller at sudo.ws
Wed Jan 15 14:48:08 MST 2020
changeset: 12081:c59e77060c37 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/c59e77060c37
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Wed Jan 15 14:47:42 2020 -0700
Log Message:
Really fix flushing of data in client_close().
Now that we call fmt_exit_message() from client_close() we do not
need to try to determine whether the read or write events were
pending in the old base.
We can't tell anyway because the active flag in the event was cleared
when the old sudo event base was destroyed. It is correct to enable
both the read and write events after formatting the ExitMessage.
diffstat:
lib/util/event.c | 3 +++
plugins/sudoers/iolog_client.c | 42 ++++++++++++++++++++----------------------
2 files changed, 23 insertions(+), 22 deletions(-)
More information about the sudo-commits
mailing list