https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7854
Bill Cole <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED CC| |[email protected] --- Comment #1 from Bill Cole <[email protected]> --- This was fixed in v3.4.1, specifically by revision r1622432: --- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014/09/04 09:24:32 1622431 +++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AskDNS.pm 2014/09/04 09:29:55 1622432 @@ -589,7 +589,8 @@ sub process_response_packet { $match = 1 if $subtest->{$rcode}; } elsif ($rcode != 0) { # skip remaining tests on DNS error - } elsif (!grep($_ eq 'ANY' || $_ eq $rr_type, @$answer_types_ref) ) { + } elsif (!defined($rr_type) || + !grep($_ eq 'ANY' || $_ eq $rr_type, @$answer_types_ref) ) { # skip remaining tests on wrong RR type } elsif (!defined $subtest) { $match = 1; # any valid response of the requested RR type matches -- You are receiving this mail because: You are the assignee for the bug.
