[Bug 2619] infinite loop, 100% cpu use in ssh if ^Z is pressed at password prompt

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Oct 18 03:12:28 AEDT 2016


https://bugzilla.mindrot.org/show_bug.cgi?id=2619

--- Comment #7 from Darren Tucker <dtucker at zip.com.au> ---
(In reply to Jakub Jelen from comment #6)
> I verified that the process with the last patch does not hang
> anymore in our use case.
> 
> According to your strace, if I understand it well, it looks like the
> SIGTTOU signal is re-send and default handler stops the process
> (looks like hang). This looks like ... well ... defined behavior

That's only true for the SIG_DFL action.  If there's a non-default
handler then it could do anything else.  I'd like to see the general
case fixed and upstreamed rather than doing something specific to
openssh.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list