Skip Menu |
 

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

Report information
The Basics
Id: 62486
Status: resolved
Priority: 0/
Queue: Net-IMAP-Simple

People
Owner: jettero [...] cpan.org
Requestors: marcos.marado [...] optimus.pt
Cc:
AdminCc:

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



Subject: Use of uninitialized value
Date: Wed, 27 Oct 2010 15:19:23 +0100
To: <bug-Net-IMAP-Simple [...] rt.cpan.org>
From: Marcos Marado <marcos.marado [...] optimus.pt>
Download (untitled) / with headers
text/plain 785b
Hi there, Two similar servers with similar setup, one of them is fine and the other is not. The only visible difference: Net::IMAP::Simple 's version. With 1.14 I don't have any problem, while in 1.2017 I have an error.log full of: Use of uninitialized value in length at /usr/lib/perl5/site_perl/5.8.8/Net/IMAP/Simple.pm line 1050, <GEN206> line 160. I am still not sure (only applied this change *now*), but I'm guessing that reverting this patch is enough to solve this issue (even if you get back with not being able to deal with misbehaving servers): http://github.com/jettero/net--imap--simple/commit/44f616ee3b89483fbdcacd65d98b84ee1f950d79 -- Marcos Marado Optimus IT - www.optimus.pt Edifício Sonaecom Av. D. João II - Lote 1.06.2.4, 1990-095 Lisboa, Portugal
Download (untitled) / with headers
text/plain 588b
On Wed Oct 27 10:18:42 2010, marcos.marado@optimus.pt wrote: Show quoted text
> not being able to deal with misbehaving servers): > http://github.com/jettero/net--imap-- > simple/commit/44f616ee3b89483fbdcacd65d98b84ee1f950d79
I don't think the solution is reverting the patch, since I put that in to fix something... I think the solution is to disable warnings and/or grep out undefined lines. That later is my first choice... I'm patching for that presently. -Paul -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 295b
I also don't understand why you think that commit is the culprit. It looks to me like $sock->getline is returning () or (@blarg, undef) or something like that. -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 473b
On Wed Oct 27 11:09:04 2010, JETTERO wrote: Show quoted text
> I also don't understand why you think that commit is the culprit. It > looks to me like $sock->getline is returning () or (@blarg, undef) or > something like that. >
I believe we fixed this, but I never closed the ticket. Please confirm? (this seems to be the commit: http://goo.gl/lJVy) -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.
Download (untitled) / with headers
text/plain 198b
The notes indicate it's solved. I'm going to close the ticket. -- If riding in an airplane is flying, then riding in a boat is swimming. 116 jumps, 48.6 minutes of freefall, 92.9 freefall miles.


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.