Re: [Exim] message filters and filter string length

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Phil Pennock
Dátum:  
Címzett: Exim Users
Tárgy: 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