Bug 9 - divide by zero error
Summary: divide by zero error
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Libraries (show other bugs)
Version: unspecified
Hardware: PC Linux
: P1 minor
Target Milestone: ---
Assignee: Craig Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 07:58 UTC by M.Sapsed
Modified: 2002-01-30 04:39 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description M.Sapsed 2002-01-28 07:58:17 UTC
The version is 2.01 actually. I just noticed this message on my linux box 
console. It was probably caused by an e-mail being checked by MailScanner which 
uses the SpamAssassin perl modules.
Failed to run FREQ_SPAM_PHRASE SpamAssassin test, skipping:
(Illegal division by zero at 
/usr/lib/perl5/site_perl/5.6.0/Mail/SpamAssassin/PhraseFreqs.pm line 42.)

Line 42 is
  my $msg_len_factor = 1000 / (length $text);

Thanks
Comment 1 Craig Hughes 2002-01-30 09:17:48 UTC
jm's getting ready to trot off around the globe for a while.  Reassigning all 
his unaccepted bugs to craig.