[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
Thu Oct 13 03:22:03 AEDT 2016


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

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at zip.com.au

--- Comment #1 from Darren Tucker <dtucker at zip.com.au> ---
It looks like a subsequent change in the OpenBSD upstream source
function addresses this:

revision 1.23
date: 2010/05/14 13:30:34;  author: millert;  state: Exp;  lines: +41
-39;
Defer installing signal handlers until echo is disabled so that we
get suspended normally when not the foreground process.  Fix potential
infinite loop when restoring terminal settings if process is in the
background when restore occurs.  OK miod@
----------------------------

(the portable one is based on 1.22).  I'll look at porting these
changes.

-- 
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