Re: array out of bounds checking results

2007-01-20 Thread Stefan Dösinger
Am Samstag 20 Januar 2007 13:57 schrieb H. Verbeet: > On 20/01/07, Marcus Meissner <[EMAIL PROTECTED]> wrote: > > } else if(GL_SUPPORT(GL_VERTEX_PROGRAM_ARB)) { > > That should read "GL_SUPPORT(ARB_VERTEX_PROGRAM)" Ooops, my fault :-| pgpIx5cLItKFi.pgp Description: PGP signature

Re: array out of bounds checking results

2007-01-20 Thread H. Verbeet
On 20/01/07, Marcus Meissner <[EMAIL PROTECTED]> wrote: } else if(GL_SUPPORT(GL_VERTEX_PROGRAM_ARB)) { That should read "GL_SUPPORT(ARB_VERTEX_PROGRAM)"

array out of bounds checking results

2007-01-20 Thread Marcus Meissner
Hi, Yesterdays TRUNK gcc features array overflow checking... I have run it against WINE and found 3 index overflows. arb_program_shader.c:950: Warnung: array subscript is above array bounds This is the place in C: } else if(GL_SUPPORT(GL_VERTEX_PROGRAM_ARB)) { and in