[bugs]Error in Graham.c line 158

David Relson relson at osagesoftware.com
Mon Feb 10 23:17:02 CET 2003


At 05:13 PM 2/10/03, Matthias Andree wrote:

>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).

Yes.  It's obsolete.  Since all tokens and buffers have lengths, memcpy() 
will work.






More information about the bogofilter-dev mailing list