bug: "invalid buffer size" with current CVS

Matthias Andree matthias.andree at gmx.de
Fri Jan 31 14:04:21 CET 2003


On Fri, 31 Jan 2003, David Relson wrote:

> The interesting line in bogolexer's output is "Unknown mime type - 
> 'image/bmp;'".  Seems like at one time we were ignoring attachments.  Seems 
> like that might be the right thing to do for images as bogofilter isn't 
> going to find any meaningful text inside them.  This may take the bulk of 
> the message away from bogofilter's scanning, but bogofilter _does_ still 
> socre the headers for spamicity.
> 
> What's your take on this sitation?

At a second glance, you're right, we shouldn't bother to decode stuff in
unknown types. It's a waste of time. I can get Matt's mail parsed in c.
1.1 s (Duron 700!) with the old code and in 0.093 s with all tests
intact with the patch I've just committed to CVS, lexer.c v1.18.




More information about the bogofilter-dev mailing list