Bug 2361 - Dns.pm crashes on line 303 (version 2.60)
Summary: Dns.pm crashes on line 303 (version 2.60)
Status: RESOLVED DUPLICATE of bug 2206
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 2.60
Hardware: PC Linux
: P5 normal
Target Milestone: 2.70
Assignee: SpamAssassin Developer Mailing List
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 21:52 UTC by James Bowlin
Modified: 2003-08-25 14:13 UTC (History)
0 users



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 James Bowlin 2003-08-25 21:52:58 UTC
Here is the error message from procmail: 
 
Can't use an undefined value as an ARRAY reference at 
/usr/lib/perl5/vendor_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 303.  
 procmail: Program failure (70) of "/usr/bin/spamassassin"  
 procmail: Rescue of unfiltered data succeeded 
 
Someone reported this error on the Gentoo forums.   I suggested replacing line 303 
of Dns.pm: 
 
my $rules = join(",", @{$query->[RULES]});  
 
with: 
 
my $rules = join(",", @{$query->[RULES] || [] }); 
 
and this seemed to have fixed the problem.
Comment 1 Theo Van Dinter 2003-08-25 22:13:17 UTC
yet another "fixed by rc2" duplicate. <sigh>

*** This bug has been marked as a duplicate of 2206 ***