Skip Menu |
 

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

Report information
The Basics
Id: 79309
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-SSLeay

People
Owner: MIKEM [...] cpan.org
Requestors: stsmith [...] manta.com
Cc:
AdminCc:

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



Subject: no blength method on undef exception
Download (untitled) / with headers
text/plain 429b
The attached patch fixes an issue we encountered on Ubuntu 11.10 with Perl 5.12. We saw a Perl exception about no blength method on undef. We think the cause was due to some interaction with the indirect object syntax and autosplit, hence the patch. An alternate fix that we tested was to add "sub blength;" at the top of the .al file. Hopeful you will apply the patch as it obviously doesn't hurt anything. Thanks, Stephen
Subject: libnet-ssleay.patch
Download libnet-ssleay.patch
text/x-diff 531b
diff -uNr Net-SSLeay-1.48.orig/lib/Net/SSLeay.pm Net-SSLeay-1.48/lib/Net/SSLeay.pm --- Net-SSLeay-1.48.orig/lib/Net/SSLeay.pm 2012-04-25 03:00:45.000000000 -0400 +++ Net-SSLeay-1.48/lib/Net/SSLeay.pm 2012-08-28 10:09:20.000000000 -0400 @@ -768,7 +768,7 @@ #read up to the end of the delimiter $got = Net::SSLeay::read($ssl, $found + $len_delim - - ((blength $match) - (blength $got))); + - ((blength($match)) - (blength($got)))); $done = 1; } else { $got = Net::SSLeay::read($ssl, $peek_length);
Subject: Re: [rt.cpan.org #79309] no blength method on undef exception
Date: Fri, 31 Aug 2012 07:37:37 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] open.com.au>
Download (untitled) / with headers
text/plain 1.5k
Hi Stephen, thanks for your report. This has now been patched in SVN 349 Cheers. On Thursday, August 30, 2012 01:13:50 PM you wrote: Show quoted text
> Thu Aug 30 13:13:49 2012: Request 79309 was acted upon. > Transaction: Ticket created by stsmith@manta.com > Queue: Net-SSLeay > Subject: no blength method on undef exception > Broken in: 1.48 > Severity: Normal > Owner: Nobody > Requestors: stsmith@manta.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=79309 > > > > The attached patch fixes an issue we encountered on Ubuntu 11.10 with > Perl 5.12. We saw a Perl exception about no blength method on undef. We > think the cause was due to some interaction with the indirect object > syntax and autosplit, hence the patch. An alternate fix that we tested > was to add "sub blength;" at the top of the .al file. > > Hopeful you will apply the patch as it obviously doesn't hurt anything. > > Thanks, > Stephen
-- Mike McCauley mikem@open.com.au Open System Consultants Pty. Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au Phone +61 7 5598-7474 Fax +61 7 5598-7070 Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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