Somethimes in a shellstream there can be zero bytes found.
It was gone after the update in 12/2012 and appiert back
with the update in ~02/2013.
In the buffer i can find then lots of zero bytes, some text of the last read
and some of the new text. So the data without the zerobytes is currupt.
After the first accur the following reads will be damaged too.
Only after a reconnect the behaivor is gone.
I think, it is a miss callculatat index or buffer size on a buffer-resize situation.
Sould i try it, too fix it be myself?
Initialize Code:
var keyFile = new PrivateKeyFile(privateKey, passPhrase);
var connectionInfo = new PrivateKeyConnectionInfo(host, port, userName, keyFile);
var client = new SshClient(connectionInfo);
client.Connect();
var stream = client.CreateShellStream("", 80, 24, 800, 600, 1024);
Comments: ** Comment from web user: olegkap **
It was gone after the update in 12/2012 and appiert back
with the update in ~02/2013.
In the buffer i can find then lots of zero bytes, some text of the last read
and some of the new text. So the data without the zerobytes is currupt.
After the first accur the following reads will be damaged too.
Only after a reconnect the behaivor is gone.
I think, it is a miss callculatat index or buffer size on a buffer-resize situation.
Sould i try it, too fix it be myself?
Initialize Code:
var keyFile = new PrivateKeyFile(privateKey, passPhrase);
var connectionInfo = new PrivateKeyConnectionInfo(host, port, userName, keyFile);
var client = new SshClient(connectionInfo);
client.Connect();
var stream = client.CreateShellStream("", 80, 24, 800, 600, 1024);
Comments: ** Comment from web user: olegkap **
Sorry for late reply on this,
If you can find a fix for this please let me know and I will incorporate it into solution.
Unfortunately I don't know when I will have time for this.
Thanks,
Oleg