SA Bugzilla – Bug 4795
[review] score config option isn't validated very well
Last modified: 2006-02-23 14:44:39 UTC
score RULE_NAME n.nn # literally n.nn, if you can believe that [10272] warn: Argument "n.nn" isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 251. [10272] warn: Argument "n.nn" isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 251. [10272] warn: Argument "n.nn" isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 251. [10272] warn: Argument "n.nn" isn't numeric in addition (+) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Conf.pm line 251.
trunk: Sending lib/Mail/SpamAssassin/Conf.pm Transmitting file data . Committed revision 377834.
Created attachment 3372 [details] 3.1 patch
+1
I'm leaning towards a -1 on this patch for the same reasons as the 3.2 patch. See <20060214221623.GT12823@kluge.net> on the dev@ list.
I didn't notice the change in the return value. I agree with Theo, and revoke my +1 for now.
trunk: r377905 removes the lint_warn()s and restores the return values
Created attachment 3373 [details] 3.1 patch uses info()s instead of lint_warn()s Please review again...
+1 on 3373 looks good. thanks for making the changes. :)
applied! r380258 on b3_1_0 branch