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

           Summary: M:SA:Conf::get_rule_value('rbl_evals') tries to coerce
                    array to hash
           Product: Spamassassin
           Version: 3.2.5
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=4364)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4364)
diff to fix Mail::SpamAssassin::Conf::get_rule_value for rbl_evals

The values of $conf->{rbl_evals}->{$rulename} are array references that often
have odd numbers of elements.  There are no tests for get_rule_value ... the
tests all look directly into the hash.

Can't coerce array into hash at
/usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Conf.pm line 3291.

Looks like get_rule_value() isn't used anywhere except within Conf.pm at this
time, and only to get values of 'meta_tests'.


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

Reply via email to