[Bug 2655] AuthorizedKeysCommand with large output can deadlock

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jan 31 05:27:07 AEDT 2017


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

Jim Knoble <jmknoble at pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmknoble at pobox.com

--- Comment #6 from Jim Knoble <jmknoble at pobox.com> ---
If an sshd process dies while reading the output from
Authorized{Keys,Pricipals}Command, wouldn't it also die with SIGPIPE?
Wouldn't it be more resilient to require the command to handle SIGPIPE
appropriately ... or even to set up an appropriate handler before
spawning the command?

Continuing to consume unneeded output seems like the wrong thing to do
here.

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