[Bug 3531] Ssh will not exit when it receives SIGTERM before calling poll in client_wait_until_can_do_something until some events happen.
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Mon Apr 1 18:57:40 AEDT 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3531
Tõivo Leedjärv <toivol at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |toivol at gmail.com
--- Comment #9 from Tõivo Leedjärv <toivol at gmail.com> ---
It seems to me that the patch may contain a bug (also the same in the
similar patch in serverloop.c).
Instead of
sigprocmask(SIG_UNBLOCK, &bsigset, &osigset)
should it not be
sigprocmask(SIG_SETMASK, &osigset, NULL)
to restore the previous mask?
--
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
More information about the openssh-bugs
mailing list