http://bugzilla.spamassassin.org/show_bug.cgi?id=3112

           Summary: Division by zero errors when 0 significant Bayes tokens
                    using Robinson comb.
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P5
         Component: spamassassin
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The Bayesian classifier (Bayes::scan) will attempt to score a message
with zero significant tokens (with at least one in the database)
leading to division-by-zero errors in the
robinson_naive_bayes_probs_combine routine.
                                                                                
The patch below aborts Bayesian classification if there are zero
significant tokens (regardless of how
REQUIRE_SIGNIFICANT_TOKENS_TO_SCORE is set).



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to