Re: [Exim] message filters and filter string length

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Phil Pennock
CC: Exim Users
Subject: Re: [Exim] message filters and filter string length
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.

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


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.