Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Issue: GlobalRequestMessage bug [1295]

$
0
0
Version 17229, file \Messages\Connection\GlobalRequestMessage.cs, line 86: Should the default switch case be a return instead of a break?
 
I am receiving a "keepalive@openssh.com" message which results in:
 
System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.List`1.CopyTo(Int32 index, T[] array, Int32 arrayIndex, Int32 count)
at Renci.SshNet.Common.SshData.ReadBytes(Int32 length) in SshData.cs: line 155
at Renci.SshNet.Common.SshData.ReadUInt32() in SshData.cs: line 194
at Renci.SshNet.Common.SshData.ReadString() in SshData.cs: line 239
at Renci.SshNet.Messages.Connection.GlobalRequestMessage.LoadData() in GlobalRequestMessage.cs: line 90
at Renci.SshNet.Common.SshData.Load(Byte[] value) in SshData.cs: line 91
at Renci.SshNet.Session.LoadMessage(Byte[] data) in Session.cs: line 1549
at Renci.SshNet.Session.ReceiveMessage() in Session.cs: line 882
at Renci.SshNet.Session.MessageListener() in Session.cs: line 1589
 
 
Possibly related to http://sshnet.codeplex.com/discussions/346993
Comments: ** Comment from web user: kayhanyuksel **

Hi , I am getting the same errors, I have tried to check the version of the dll from file properties but couldn't.
Probably, the one I have downloaded is a newer one than the one mentioned but still got that error.


Viewing all articles
Browse latest Browse all 1026

Trending Articles