[bugs]Error in Graham.c line 158

Matthias Andree matthias.andree at gmx.de
Mon Feb 10 23:13:19 CET 2003


On Mon, 10 Feb 2003, David Relson wrote:

> The check was needed in the graham code because the word is copied into the 
> extrema array which has fixed size slots for storing the words.  With the 
> new word_t code, the fixed slots are gone and there is no need for the 
> check.  As as aside, the tokens are all flex outputs and won't have NUL 
> bytes in them.

So we need to kill the strlcpy because it's inadequate (it expects NUL
bytes).

-- 
Matthias Andree




More information about the bogofilter-dev mailing list