spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benning, Markus" <...@markusbenning.de>
Subject Re: PDFInfo.pm line 418
Date Fri, 26 Feb 2016 08:24:18 GMT
On 2016-02-26 08:59, Robert Schetterer wrote:
> Hi ,does anyone know something about this ?
> 
> Use of uninitialized value in lc at
> /usr/share/perl5/Mail/SpamAssassin/Plugin/PDFInfo.pm line 418

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 may fill in a bug report.

Good luck.
I filled a bug yesterday and there are over 700 other bugs rotting 
around there.

Markus

-- 
https://markusbenning.de/

Mime
View raw message