bogofilter crashes on token ' id '

Torsten Veller ml-en at veller.net
Mon Nov 6 22:47:17 CET 2006


* David Relson <relson at osagesoftware.com>:
> David Relson wrote:
> > Torsten Veller wrote:
> > > can you please have a look at http://bugs.gentoo.org/153939 ?
> > > Do you need more infomation?
> > 
> > I've looked at the gentoo bug report and your patch.  The patch
> > seems reasonable, but I want to better understand the problem....
> > 
> > You seem to be reporting a token with embedded spaces which is very
> > odd.  Can you send me (off-line) a message that causes a crash, the
> > command line used to invoke bogofilter, a copy of your
> > bogofilter.cf, and info on your environment (notably your locale and
> > cpu type).  Given the location of your bug report, I can deduce the
> > distro you're running.

I don't see the segfault on my x86. But if i try it on an AMD64
(x86_64) bogofilter segfaults.

Four mails in a mbox are attached to the bugreport above.
The id in the test messages looks like "id (7:R)0-B*1K(,-=Z".
So ID ("<?[[:alnum:]\-\.]*>?") is empty?

> I've reproduced the problem by splitting "id <identification>" across
> two lines.  The parser expects a single space in the middle of the
> QUEUE_ID. My fix is to allow spaces and newlines.

It still segfaults.



More information about the bogofilter-dev mailing list