spamassassin-dev April 2010 archive
Main Archive Page > Month Archives  > spamassassin-dev archives
spamassassin-dev: [Bug 6416] New: Avoid warnings in AutoWhitelis

[Bug 6416] New: Avoid warnings in AutoWhitelist when Received header is bad or misparsed

From: <bugzilla-daemon_at_nospam>
Date: Mon Apr 19 2010 - 12:21:54 GMT
To: dev@spamassassin.apache.org

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6416

           Summary: Avoid warnings in AutoWhitelist when Received header
                    is bad or misparsed
           Product: Spamassassin
           Version: 3.3.1
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Libraries
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: Mark.Martinec@ijs.si

Jari Fredriksson wrote on the ML on 2010-04-07:

Apr 7 10:07:41 lancaster check[1339]: Use of uninitialized value
$origip in concatenation (.) or string at
/usr/local/share/perl/5.10.0/Mail/SpamAssassin/AutoWhitelist.pm line 346.

3.3.1 in Debian Lenny, compiled via CPAN.

I have not seen this message before, but now it came. I have no idea of
the message which caused this.

My reply was:

Probably as a result of a syntactically incorrect Received header field,
or incorrect parsing of it (see bug 6402).

Here below is a patch to avoid warnings (which are innocent, but still...)

Please open a bug report so that we can properly fold-in the patch.

-- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.