You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2004/07/15 16:06:04 UTC

[Bug 3610] New: eval check_illegal_chars produces divide by zero error

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

           Summary: eval check_illegal_chars produces divide by zero error
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Rules (Eval Tests)
        AssignedTo: spamassassin-dev@incubator.apache.org
        ReportedBy: dallase@nmgi.com


Failed to run HEAD_ILLEGAL_CHARS SpamAssassin test, skipping:
    Illegal division by zero at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/EvalTests.pm line 776, <GEN3>
line 9.

Occurs when length($str) == 0.  To reproduce, use a empty header... i came
across this when testing undef vs. blank subject headers.

# echo -e "From:\n\nbody\n" | spamc

extra debug on this shows..

debug: DLE header is ALL
debug: DLE illegal: 0
debug: DLE length str: 0



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