[PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow
The patch below fixes a potential buffer overflow in xf86addComment().
This occurs if curlen > 0 && eol_seen == 0 && iscomment == 0 , as
follows from the code:
char *xf86addComment(char *cur, char *add)
Am 31.08.2011 07:06, schrieb v...@picaros.org:
> [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow
>
> The patch below fixes a potential buffer overflow in xf86addComment().
> This occurs if curlen > 0 && eol_seen == 0 && iscomment ==
> Am 31.08.2011 07:06, schrieb v...@picaros.org:
> > [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow
> >
> > The patch below fixes a potential buffer overflow in xf86addComment().
> > This occurs if curlen > 0 && eol_seen == 0 &&