Skip Menu |

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

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

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

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



Subject: "Out of memory!" error when public_key file is empty
If the public key file passed to auth_publickey is empty the call fails with the error msg. "Out of memory!" I cannot seem to catch the exception with y try/catch block.
Subject: Re: [rt.cpan.org #90800] "Out of memory!" error when public_key file is empty
Date: Mon, 25 Nov 2013 13:19:53 -0800
To: bug-Net-SSH2 [...] rt.cpan.org
From: Rafael Kitover <rkitover [...] gmail.com>
It's actually running out of memory, very very bad. I'll take a look if it's a Net::SSH2 or libssh2 bug. On Mon, Nov 25, 2013 at 6:46 AM, David Schmidt via RT < bug-Net-SSH2@rt.cpan.org> wrote: Show quoted text
> Mon Nov 25 09:46:54 2013: Request 90800 was acted upon. > Transaction: Ticket created by DAVEWOOD > Queue: Net-SSH2 > Subject: "Out of memory!" error when public_key file is empty > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: DAVEWOOD@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=90800 > > > > If the public key file passed to auth_publickey is empty the call fails > with the error msg. > > "Out of memory!" > > I cannot seem to catch the exception with y try/catch block. >
This is a bug on libssh2. A patch fixing it has been submitted. Thank you for reporting it.