https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8060
Bug ID: 8060
Summary: Fix meta handling for metas without dependencies
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: All
OS: All
Status: NEW
Severity: blocker
Priority: P2
Component: Libraries
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
As seen on list, metas without dependencies are not always run correctly.
Depending on rule running order due to perl hashes being random order, SA4TA3
will not evaluate if both subrules did not run before it.
meta __SA4TA3_1 6
meta __SA4TA3_2 2
meta SA4TA3 (__SA4TA3_1 > 2) && (__SA4TA3_2 > 1)
This was because metas without dependencies were not recorder in
$pms->{meta_check_ready}, thus do_meta_tests did not run them at all, and
finish_meta_tests is not able to handle this scenario.
Fixed by saving metas without dependencies to $conf->{meta_nodeps} and
initializing $pms->{meta_check_ready} from it.
--
You are receiving this mail because:
You are the assignee for the bug.