Re: c# segmentation fault [with file]

On Fri, 19 Sep 2003, Andrew V. Samoilov wrote:

> This space divided your keyword and second part was treated as
> foreground color.  This part was too long to fit in stack allocated
> buffer, so we had classic buffer overflow.  This bug fixed in CVS since
> 2003-02-25.

It wasn't sufficient.  An additional patch has been applied to CVS:

2003-09-22  Pavel Roskin  <proski gnu org>

        * syntax.c (compare_word_to_right): Add checks that we don't go
        beyond text length for certain invalid rules.
        Reported by Juan C. Olivares <juancri TAGnet org>

Pavel Roskin

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]