Invalid buffer size in bogofilter 0.15.1

David Relson relson at osagesoftware.com
Thu Sep 4 17:39:31 CEST 2003


On Thu, 04 Sep 2003 11:23:32 -0400
Jason Rennie <jrennie at ai.mit.edu> wrote:

> 
> When I apply this (David's) patch to the 0.15.1 code, I no longer get
> the invalid buffer size error.
> 
> Jason
> 
> --- lexer.c	2 Sep 2003 16:19:04 -0000	1.63
> +++ lexer.c	2 Sep 2003 21:13:50 -0000
> @@ -205,6 +206,8 @@
>  		convert_eol(text, ' ');
>  	    }
>  	}
> +	if (buff->size - count < 1000)
> +	    break;
>      }
>      return count;
>  }
> 

Jason,

That change is _supposed_ to be in 0.15.1.  Evidently it fell through a
crack.

I've just updated cvs and it'll be in 0.15.2

David




More information about the Bogofilter mailing list