Re: [Mesa3d-dev] [PATCH] test index bounds before array element

2010-01-06 Thread Brian Paul
roel kluin wrote: > On Wed, Jan 6, 2010 at 5:49 PM, Brian Paul wrote: >> Roel Kluin wrote: >>> Check whether the index is within bounds before accessing the array. >> Applied to 7.7 branch. >> >> -Brian >> >> > > I just realized the last one (affecting > src/mesa/shader/prog_optimize.c) is wrong.

Re: [Mesa3d-dev] [PATCH] test index bounds before array element

2010-01-06 Thread roel kluin
On Wed, Jan 6, 2010 at 5:49 PM, Brian Paul wrote: > Roel Kluin wrote: >> >> Check whether the index is within bounds before accessing the array. > > Applied to 7.7 branch. > > -Brian > > I just realized the last one (affecting src/mesa/shader/prog_optimize.c) is wrong. Should I resend it without

Re: [Mesa3d-dev] [PATCH] test index bounds before array element

2010-01-06 Thread Brian Paul
Roel Kluin wrote: > Check whether the index is within bounds before accessing the array. Applied to 7.7 branch. -Brian -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's bes

[Mesa3d-dev] [PATCH] test index bounds before array element

2010-01-06 Thread Roel Kluin
Check whether the index is within bounds before accessing the array. Signed-off-by: Roel Kluin --- src/mesa/drivers/dri/tdfx/tdfx_dd.c |2 +- src/mesa/shader/nvfragparse.c |2 +- src/mesa/shader/prog_optimize.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -