#107 bogofilter 1.1.6 divide by zero

closed
None
5
2008-05-26
2008-05-23
No

German spam message causes BF to crash with divide by zero.

Attached is the message and a debug output from BF.

Discussion

  • Dave Saville

    Dave Saville - 2008-05-23

    Outputt from bogofilter

     
  • Dave Saville

    Dave Saville - 2008-05-23

    message causing crash

     
  • Dave Saville

    Dave Saville - 2008-05-23

    Logged In: YES
    user_id=2096608
    Originator: YES

    File Added: k0oalj00.msg

     
  • David Relson

    David Relson - 2008-05-23

    Logged In: YES
    user_id=30510
    Originator: NO

    From the information included I can't reproduce the problem. Please attach the output of the following command:

    ( echo .MSG_COUNT ; bogolexer -C -p -I k0oalj00.msg ) | bogoutil -C -p BOGODIR

    where "BOGODIR" is the directory that has wordlist.db. Also, what distro and CPU are you running?

     
  • David Relson

    David Relson - 2008-05-24

    Logged In: YES
    user_id=30510
    Originator: NO

    From the information included I can't reproduce the problem. Please attach the output of the following command:

    ( echo .MSG_COUNT ; bogolexer -C -p -I k0oalj00.msg ) | bogoutil -C -p BOGODIR

    where "BOGODIR" is the directory that has wordlist.db. Also, what distro and CPU are you running?

     
  • David Relson

    David Relson - 2008-05-24
    • assigned_to: nobody --> relson
     
  • Dave Saville

    Dave Saville - 2008-05-24

    bogolexer piped to bogoutil

     
  • Dave Saville

    Dave Saville - 2008-05-24

    Logged In: YES
    user_id=2096608
    Originator: YES

    Sorry I do not understand the echo part of the requested command. It does nothing in an OS/2 shell except output the header line. The output of bogolexer piped to bogoutil is attached.

    The only info I have about the distro is that it is 1.1.6 Machine is an IBM Thinkpad T21 - Intel Mobile Pentium III 850 MHz CPU
    File Added: lex

     
  • Dave Saville

    Dave Saville - 2008-05-24

    Logged In: YES
    user_id=2096608
    Originator: YES

    Have asked the porter what he built from and also where he thought the divide by zero was. He is in Oz so might take some time to get back to me :-)

     
  • Dave Saville

    Dave Saville - 2008-05-24

    Logged In: YES
    user_id=2096608
    Originator: YES

    Crashes the same on 1.1.7

    Killed by SIGFPE
    pid=0x01fd ppid=0x01fc tid=0x0001 slot=0x00b4 pri=0x0200 mc=0x0001
    T:\TMP\BOGOFILTER\BIN\BOGOFILTER.EXE
    BOGOFILT 0:000323f3
    cs:eip=005b:000423f3 ss:esp=0053:0022fc60 ebp=0022fcd8
    ds=0053 es=0053 fs=150b gs=0000 efl=00002246
    eax=00000300 ebx=0022fd30 ecx=0022fcb0 edx=0022fca0 edi=000000dc esi=0022fd30

     
  • David Relson

    David Relson - 2008-05-26

    Logged In: YES
    user_id=30510
    Originator: NO

    Problem isolated to flaw in OS/2's implementation of exp().

    exp(-708) gives 3.307553e-308
    exp(-709) results in SIGFPE

     
  • David Relson

    David Relson - 2008-05-26
    • status: open --> closed
     
  • David Relson

    David Relson - 2008-05-26

    Logged In: YES
    user_id=30510
    Originator: NO

    Problem isolated to flaw in OS/2's implementation of exp().

    exp(-708) gives 3.307553e-308
    exp(-709) results in SIGFPE

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks