https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7303
Bug ID: 7303
Summary: uninitialized value in lc PDFInfo.pm line 418
Product: Spamassassin
Version: 3.4.1
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Plugins
Assignee: [email protected]
Reporter: [email protected]
> Use of uninitialized value in lc at
> /usr/share/perl5/Mail/SpamAssassin/Plugin/PDFInfo.pm line 418
Here s some fix from the mail list ( untestet )
Thats a warning of the perl interpreter because an undefined value is passed to
lc().
In this case:
my $cte = lc $p->get_header('content-transfer-encoding') || '';
The attachment may not have a header with that name.
Its a bug. It must be written like this:
my $cte = lc( $p->get_header('content-transfer-encoding') || '' );
--
You are receiving this mail because:
You are the assignee for the bug.