You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2017/08/09 21:06:42 UTC

[Bug 7453] New: WARN: Use of uninitialized value $name in pattern match (m//) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PDFInfo.pm line 428.

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7453

            Bug ID: 7453
           Summary: WARN: Use of uninitialized value $name in pattern
                    match (m//) at
                    /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/
                    PDFInfo.pm line 428.
           Product: Spamassassin
           Version: 3.4 SVN branch
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Plugins
          Assignee: dev@spamassassin.apache.org
          Reporter: kmcgrail@apache.org
  Target Milestone: Undefined

Noticed the following warning I've never seen before:

May 18 01:09:32 bwimail02 amavis[1239]: (01239-10) _WARN: Use of
uninitialized value $name in pattern match (m//) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PDFInfo.pm line
428.

I can try and find a sample, unless you're already familiar with this warning.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7453] WARN: Use of uninitialized value $name in pattern match (m//) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PDFInfo.pm line 428.

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7453

--- Comment #1 from Karsten Bräckelmann <gu...@rudersport.de> ---
Can reproduce, have a minimal-ish test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7453] WARN: Use of uninitialized value $name in pattern match (m//) at /usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/PDFInfo.pm line 428.

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7453

Karsten Bräckelmann <gu...@rudersport.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Karsten Bräckelmann <gu...@rudersport.de> ---
The warning is easy to fix in any case, simply ensure the variable is
initialized. The reason why there is no $name in the test case might be a
different story (and bug), though.

Committed to trunk and stable 3.4 branch.

Sending        Plugin/PDFInfo.pm
Committed revision 1806517.

Sending        Plugin/PDFInfo.pm
Committed revision 1806518.

Closing RESOLVED FIXED.

-- 
You are receiving this mail because:
You are the assignee for the bug.