Bug#317524: infinite loop when using charset_default=iso-8859-1

David Relson relson at osagesoftware.com
Sat Nov 5 01:22:38 CET 2005


On Fri, 4 Nov 2005 16:34:29 -0500
Clint Adams wrote:

> > Ah, yes it does. I somehow didn't look properly at the output I
> > pasted. ;-X
> 
> Obviously we have a config-parsing problem.

Emar,

Thank you for reporting this problem!

Clint,

The config parsing problem is the first half of the story.  Once
bogofilter has the bad charset name it tries to open the charset.
Naturally that fails.  However the failure returns -1 rather than a
NULL and that causes the loop.  The -1 vs NULL problem was caused by a
"fix" last June.

The attached patch fixes both problems.

Regards,

David


More information about the bogofilter-dev mailing list