[PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow

2011-08-30 Thread vdb
[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)

Re: [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow

2011-08-31 Thread walter harms
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 ==

Re: [PATCH xserver/hw/xfree86/parser/scan.c] potential buffer overflow

2011-08-31 Thread vdb
> 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 &&