You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When SSH server sends data with zero payload - SSH_MSG_CHANNEL_DATA message
with length 9 the Ganymed client throws an exception and disconnects
A data message with zero payload should be handled and silently discarded.
Instead, the msgChannelData function will throw an IOException
"SSH_MSG_CHANNEL_DATA message has wrong size (" 9 ")". The client then
disconnects
SSH-2.0-Ganymed_261
OS X 10.9.1
The Ganymed client check the length of SSH data message when it is received.
When the SSH server send a data packet with zero payload, which is apparently
ok with the RFC, the Ganymed SSH client receive thread throws an exception that
cause a disconnect.
The ChannelManager msgChannelData() lengh check should be msglen < 9, not
msglen ≤9 as data packets without payload are not forbidden by the SSH
Connection Protocol RFC.
Original issue reported on code.google.com by [email protected] on 9 Jan 2014 at 9:13
Original issue reported on code.google.com by
[email protected]
on 9 Jan 2014 at 9:13Attachments:
The text was updated successfully, but these errors were encountered: