[sudo-commits] sudo changeset 13811:f34bf167c3b4
Todd C. Miller
Todd.Miller at sudo.ws
Fri Feb 18 09:49:40 MST 2022
changeset: 13811:f34bf167c3b4 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/f34bf167c3b4
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri Feb 18 09:14:35 2022 -0700
Log Message:
iolog_pwfilt_run: apply regex on ttyout even if we disabled filtering.
The heuristic used to decide when to disable filtering is when we
see another ttyout buffer or find a cr or nl in the ttyin buffer.
However, we should also check the buffer that caused us to disable
filtering for a matching regex that would re-enable filtering.
Programs that prompt for a password twice might otherwise not have
the second password filtered.
diffstat:
lib/iolog/iolog_filter.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
More information about the sudo-commits
mailing list