Re: [Exim] message filters and filter string length

Top Pagina
Delete this message
Reply to this message
Auteur: Phil Pennock
Datum:  
Aan: Exim Users
Onderwerp: Re: [Exim] message filters and filter string length
On 2000-07-31 at 09:31 +0100, Philip Hazel gifted us with:
> On Sun, 30 Jul 2000, Phil Pennock wrote:
> > filter.c has a stack-stored buffer[256] in read_condition(). This size,
> > via sizeof(), is then passed to the function nextitem(). However, a
> > large number of exim functions (in other files) also use a hard-coded
> > 256 character array. So - is it safe to simply increase the size of
> > this one buffer in read_condition()?
>
> Yes.


*phew*

Thanks - new version running, seems fine.

> I'll review this. 256 seemed big at the time.


:^) Sure that you don't work for Microsoft? *ducks fast*
--
"We've got a patent on the conquering of a country through the use of force.
We believe in world peace through extortionate license fees." -Bluemeat