bogofilter busy-loops

Marek Kowal marek.kowal at portal.onet.pl
Thu May 29 11:20:29 CEST 2003


Hi there,
 
Within one hour four letters arrived at my system and all of them caused
bogofilter to busyloop. Those are emails with attachments (mpg files in
base64 encoding). I've tested it with serveral databases, but it busyloops
anyway. The problem occurs in version 0.13.0, it does not occur with
bogofilter-0.11.2.
 
gdb localizes the busy-loop here:
 
(gdb) bt
#0  check_alphanum (buf=0x80a2199 'ÿ' <repeats 59 times>, count=59)
    at lexer.c:68
#1  0x0804ec32 in yyinput (buf=0x80a2199 'ÿ' <repeats 59 times>,
max_size=8192)
    at lexer.c:267
#2  0x0804fae5 in yy_get_next_buffer () at lexer_v3.c:5686
#3  0x0804f935 in lexer_v3_lex () at lexer_v3.c:5520
#4  0x080522e5 in get_token () at token.c:68
#5  0x0804c5f5 in collect_words (wh=0x80a6170) at collect.c:48
#6  0x08049741 in bogofilter () at bogofilter.c:67
#7  0x08049c1f in classify () at main.c:287
#8  0x080499aa in arg_foreach (hook=0x8049bf0 <classify>, argc=0,
    argv=0xbffffd8c) at main.c:155
#9  0x08049ac3 in main (argc=0, argv=0xbffffd8c) at main.c:205

Haven't tested the thing against the latest version from CVS, but I suspect
the problem is still there, as nobody announced any changes to the lexer
along 0.13.0 and 0.13.3. 
 
I am rather reluctant to send the "broken" files directly to the list - this
is private correspondence, not belonging to me. Whom should I send the files
to directly?
 
Cheers,
Marek
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.bogofilter.org/pipermail/bogofilter-dev/attachments/20030529/a261e9a8/attachment.html>


More information about the bogofilter-dev mailing list