Skip Menu |

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 118437
Status: open
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: xan [...] biblionix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Padding byte interpreted as signed integer, should be unsigned
Date: Wed, 19 Oct 2016 10:38:39 -0500
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: Xan Charbonnet <xan [...] biblionix.com>
Hello, I've just run across a problem connecting to some servers, which I believe to be the problem described here: https://fogbugz.bitvise.com/default.asp?WinSSHD.1.11700.2 Basically, Net::SSH::Perl works if the padding happens to be 127 or below, but it should work all the way up to 255. The symptom is for example "Corrupted padlen -102 on input". The solution seems to be to change line 241 (in version 2.01) to 'unpack "C"' instead of 'unpack "c"'. Thanks! -Xan
Hi, thanks for your report? Is there any chance that you create a Pull Request on Lance Kinley's repo on github https://github.com/lkinley/Net-SSH-Perl so he can have a look? He is the main author behind current development. Thanks, Steffen On Wed Oct 19 11:38:52 2016, xan@biblionix.com wrote: Show quoted text
> Hello, > > I've just run across a problem connecting to some servers, which I > believe to be the problem described here: > https://fogbugz.bitvise.com/default.asp?WinSSHD.1.11700.2 > > Basically, Net::SSH::Perl works if the padding happens to be 127 or > below, but it should work all the way up to 255. The symptom is for > example "Corrupted padlen -102 on input". > > The solution seems to be to change line 241 (in version 2.01) to 'unpack > "C"' instead of 'unpack "c"'. > > Thanks! > > -Xan
-- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>