Bug 7401 - Uninitialised values in URIDNSBL.pm line 1042
Summary: Uninitialised values in URIDNSBL.pm line 1042
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Plugins (show other bugs)
Version: 3.4.1
Hardware: PC Linux
: P2 normal
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-10 10:04 UTC by Martin Gregorie
Modified: 2018-06-09 13:12 UTC (History)
2 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gregorie 2017-04-10 10:04:44 UTC
From time to time I see this sequence of errors in my daily logwatch reports, usually in the next logwatch report after I've rebooted the mail server following a kernel update.

    Use of uninitialized value $4 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042.: 8 Time(s)
    Use of uninitialized value $3 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042.: 8 Time(s)
    Use of uninitialized value $2 in concatenation (.) or string at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/URIDNSBL.pm line
1042.: 8 Time(s)

I'm running spamd 3.4.1 on Fedora 25, with updates applied on a weekly basis. The environment is nonstandard: I'm using getmail to retrieve incoming mail from a POP3 mailbox on my ISP's mail host. Spamc is called as part of getmail's MDA, a script that runs spamc before piping its output into a C program that quarantines spam and passes ham to Postfix via Postfix.sendmail.
Comment 1 Kevin A. McGrail 2017-04-10 10:10:34 UTC
I found the discussion on this I had been looking for.  The initialized vs initialised internationalization issue reared up!

This should be fixed in Trunk per this discussion:

http://spamassassin.1065346.n5.nabble.com/Uninitialized-values-in-URIDNSBL-td123864.html

Will leave this open to confirm!

KAM
Comment 2 Kevin A. McGrail 2017-08-09 21:55:13 UTC
See https://590338.bugs.gentoo.org/attachment.cgi?id=452626 if needed and confirm this is fixed in 3.4 and trunk
Comment 3 Giovanni Bechis 2018-06-09 13:12:07 UTC
Fixed in r1695122 (trunk) and r1791573 (3.4)