Re: [Mesa-dev] [PATCH] glsl: Fix array overflow.

2012-08-17 Thread Ian Romanick
On 08/14/2012 06:40 PM, Stéphane Marchesin wrote: Otherwise we run past the end of the array and crash. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Stéphane Marchesin marc...@chromium.org That's funny. I completely missed this patch on the list, but ended up writing the

Re: [Mesa-dev] [PATCH] glsl: Fix array overflow.

2012-08-16 Thread Brian Paul
On 08/14/2012 07:40 PM, Stéphane Marchesin wrote: Otherwise we run past the end of the array and crash. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Stéphane Marchesinmarc...@chromium.org --- src/glsl/link_uniforms.cpp |2 +- 1 files changed, 1 insertions(+), 1

[Mesa-dev] [PATCH] glsl: Fix array overflow.

2012-08-14 Thread Stéphane Marchesin
Otherwise we run past the end of the array and crash. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Stéphane Marchesin marc...@chromium.org --- src/glsl/link_uniforms.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/link_uniforms.cpp