[Bug 396] sshd orphans processes when no pty allocated

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Feb 14 12:19:36 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=396





------- Additional Comments From dtucker at zip.com.au  2005-02-14 12:19 -------
(In reply to comment #8)
> Is this not another manifestation of the infamous bug #52?

I don't think so.

Bug #52 is sshd waiting for descriptors to close on a clean shutdown.  This one
is subprocesses not knowing that sshd (and thus their stdin/stdout) has gone
away on abnormal termination, usually because they don't check if their read()
calls on stdin return zero.

(This may be because some platforms return zero for reads in some cases even
when the descriptor hasn't closed.  Such behaviour would appear to be in
violation of POSIX.)



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list