Skip Menu |

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

Report information
The Basics
Id: 69444
Status: resolved
Priority: 0/
Queue: Net-SSH2

People
Owner: Nobody in particular
Requestors: salva [...] cpan.org
Cc:
AdminCc:

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



Subject: *** glibc detected *** perl: double free or corruption (fasttop): 0x000000000222afc0 ***
the attached script dies with and "double free or corruption" error after the call to Net::SSH2::auth. The error does not happen when I call auth_publickey directly.
Subject: ssh2bug.pl
#!/usr/bin/perl use strict; use warnings; use Net::SSH2; package Net::SSH2; my $host = 'localhost'; my $key = '/home/salva/.ssh/id_rsa', my $user = 'salva'; system "ssh -l $user -i $key $host echo hello from remote host"; system "ls -l $key*"; warn "before ctor"; my $ssh2 = Net::SSH2->new(); warn "before connect"; $ssh2->connect("localhost", 22); warn "before auth"; $ssh2->auth(privatekey => $key, publickey => "$key.pub", username => $user, ) or warn "connection failed"; warn "the end"
Subject: uname-a
Download uname-a
application/octet-stream 98b

Message body not shown because it is not plain text.

Subject: perl-V
Download perl-V
application/octet-stream 7.5k

Message body not shown because it is not plain text.

Subject: output
Download output
application/octet-stream 7k

Message body not shown because it is not plain text.

Fixed in 0.39 .