Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
69444
Status:
resolved
Priority:
Low/Low
Queue:

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



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

Message body not shown because it is not plain text.

Subject: perl-V

Message body not shown because it is not plain text.

Subject: output

Message body not shown because it is not plain text.

Fixed in 0.39 .


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.