https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8427
Bug ID: 8427
Summary: Perl warning when rule scored only by defscore
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P2
Component: Rules
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 6096
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6096&action=edit
Fix warnings when rule has defscore with no configured score
This was partially fixed in r1926664 but that missed another two places to
change.
Steps to reproduce: Get a hit on a rule that has a defscore but no configured
score. TIME_LIMIT_EXCEEDED has that in the standard rules set and can be tested
with a rule that sleeps 2 secods. Or create a test rule to hit that has a
defscore, no configured score, and hit it.
Expected result: ordinary report of rule hit
Actual result: The rule appears in the report with no score and there are
uninitialized value warnings.
--
You are receiving this mail because:
You are the assignee for the bug.