realloc problem

David Relson relson at osagesoftware.com
Tue Oct 25 00:30:46 CEST 2005


On Mon, 24 Oct 2005 21:52:54 +0200
Matthias Andree wrote:

> David Relson <relson at osagesoftware.com> writes:
> 
> > Your bug report lead to several interesting days.  Your problem was a
> > buffer overrun during unicode conversion of a mime image attachment,
> > and prompted two fixes:  preventing the buffer overrun and adding code
> > to _not_ bother parsing mime image attachments for tokens.  
> 
> The latter is a data^Wdéjà vu, and we've been saying for ages that
> bogofilter would not look at image/, audio/, application/ or in fact any
> non-text/ and non-message/ section. Apparently, you've squished a
> long-standing bug.

Seems like 18 months or so I made changes to skip processing of binary
attachments.  Evidently I missed one (or two) of the places that needed
changing.  Such is life.



More information about the bogofilter-dev mailing list