[Bug 1213] ssh-keyscan exits in mid-way

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Mar 26 11:38:20 EST 2011


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

aab at purdue.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2018|0                           |1
        is obsolete|                            |

--- Comment #33 from aab at purdue.edu 2011-03-26 11:38:20 EST ---
Created attachment 2021
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2021
Withdraw patch attachment #2018.

This missive just obsoletes(withdraws) the current variant of the
patch.  We just had a bad network glitch here and, because of it,
ssh-keyscan called the `select()' function in the `packet_read_seqnr()'
function with a NULL timeout value.  Since the read wasn't going to
receive any data because of the glitch ever, it occasionally did one of
those hang forever thingys.  The patch still works if your network
doesn't glitch like ours did albeit very crudely.

It turns out that the original coders of ssh-keyscan missed(?) a call
to the `packet_set_timeout()' function which in turn caused the above
referenced NULL.  I'm in the process of rewriting the patch to include
a "set" call.

FWIW - bugzilla won't let me subit this withour a non-null file.  The
new attachment is a NL.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list