summaryrefslogtreecommitdiffstats
path: root/auth-rhosts.c
diff options
context:
space:
mode:
authorAntonio Larrosa <alarrosa@suse.com>2024-08-23 12:21:06 +0200
committerDamien Miller <djm@mindrot.org>2024-08-28 22:09:46 +1000
commit05f2b141cfcc60c7cdedf9450d2b9d390c19eaad (patch)
treead32f593e8578ff9594ec326401916eb1f1e5563 /auth-rhosts.c
parent16eaf9d401e70996f89f3f417738a8db421aa959 (diff)
Don't skip audit before exitting cleanup_exitHEADmaster
This fixes an issue where the SSH_CONNECTION_ABANDON event is not audited because cleanup_exit overrides the regular _exit too soon and as a result, failed auth attempts are not logged correctly. The problem was introduced in 81c1099d22b81ebfd20a334ce986c4f753b0db29 where the code from upstream was merged before the audit_event call when it should have been merged right before the _exit call in order to honor the comment that just mentions an override of the exit value.
Diffstat (limited to 'auth-rhosts.c')
0 files changed, 0 insertions, 0 deletions