Skip Menu |
 

This queue is for tickets about the MailTools CPAN distribution.

Report information
The Basics
Id: 113874
Status: resolved
Priority: 0/
Queue: MailTools

People
Owner: Nobody in particular
Requestors: john_l_berger [...] optum.com
Cc:
AdminCc:

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



Subject: Infinite loop due to uninitialized value
Date: Mon, 18 Apr 2016 15:23:53 +0000
To: "bug-MailTools [...] rt.cpan.org" <bug-MailTools [...] rt.cpan.org>
From: "Berger, John L" <john_l_berger [...] optum.com>
Download (untitled) / with headers
text/plain 5.5k
I am attempting to run make test on MIME-Tools 5.507 with Perl v5.22.1; however, I end up getting the following infinite loop when it attempts to run a test based on Mail::Header. I got no errors when I compiled/installed MailTools v2.15. I don't know if this is a problem with MIME-Tools or MailTools, but considering that Mail/Header.pm is reporting the error, I figured that this is the place to start. appdev@testsrv:/apps/tmp/MIME-tools-5.507 $ make test PERL_DL_NONLAZY=1 "/apps/perl/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/02-kwalitee.t ................... skipped: These tests are for author or release candidate testing t/02-pod-coverage.t ............... skipped: Test::Pod::Coverage disabled. TEST_POD_COVERAGE=1 if you want it. t/02-pod.t ........................ skipped: Test::Pod 1.00 required for testing POD t/99-prepare.t .................... ok t/attachment-filename-encoding.t .. 1/7 Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 326, <$readfh> line 3. Use of uninitialized value $ln in pattern match (m//) at /apps/perl/lib/site_perl/5.22.1/Mail/Header.pm line 328, <$readfh> line 3. This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
Subject: Re: [rt.cpan.org #113874] Infinite loop due to uninitialized value
Date: Mon, 18 Apr 2016 17:29:01 +0200
To: "Berger, John L via RT" <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 704b
* Berger, John L via RT (bug-MailTools@rt.cpan.org) [160418 15:24]: Show quoted text
> Mon Apr 18 11:24:10 2016: Request 113874 was acted upon. > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113874 >
Bugger! That code has changed today. Can you please try this patch: Mail/Header line 645: - last if $ln =~ m/^\s+$/; + last if !defined $ln || $ln =~ m/^\s+$/; -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: RE: [rt.cpan.org #113874] Infinite loop due to uninitialized value
Date: Mon, 18 Apr 2016 15:43:21 +0000
To: "bug-MailTools [...] rt.cpan.org" <bug-MailTools [...] rt.cpan.org>
From: "Berger, John L" <john_l_berger [...] optum.com>
Download (untitled) / with headers
text/plain 1.5k
Yep. That fixed it. Thanks for the prompt response! John Show quoted text
-----Original Message----- From: Mark Overmeer via RT [mailto:bug-MailTools@rt.cpan.org] Sent: Monday, April 18, 2016 11:29 AM To: Berger, John L Subject: Re: [rt.cpan.org #113874] Infinite loop due to uninitialized value <URL: https://rt.cpan.org/Ticket/Display.html?id=113874 > * Berger, John L via RT (bug-MailTools@rt.cpan.org) [160418 15:24]:
> Mon Apr 18 11:24:10 2016: Request 113874 was acted upon. > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113874 >
Bugger! That code has changed today. Can you please try this patch: Mail/Header line 645: - last if $ln =~ m/^\s+$/; + last if !defined $ln || $ln =~ m/^\s+$/; -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.
Subject: Re: [rt.cpan.org #113874] Infinite loop due to uninitialized value
Date: Mon, 18 Apr 2016 18:00:35 +0200
To: "Berger, John L via RT" <bug-MailTools [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
Download (untitled) / with headers
text/plain 669b
* Berger, John L via RT (bug-MailTools@rt.cpan.org) [160418 15:43]: Show quoted text
> Queue: MailTools > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=113874 > > > Yep. That fixed it. Thanks for the prompt response! > > - last if $ln =~ m/^\s+$/; > + last if !defined $ln || $ln =~ m/^\s+$/;
Released as 2.16 -- Thanks for reporting! MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Fixed last April


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.