Re: [Mesa-dev] [PATCH] i965: check tcs for NULL dereference

2016-05-13 Thread Kenneth Graunke
On Friday, May 13, 2016 1:11:28 PM PDT Mark Janes wrote: > Coverity issue 1361544 found an instance where the tcs variable is > checked for NULL, but unconditionally dereferenced later in the same > function. > > CC: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_tcs.c | 8 +--- > 1 f

[Mesa-dev] [PATCH] i965: check tcs for NULL dereference

2016-05-13 Thread Mark Janes
Coverity issue 1361544 found an instance where the tcs variable is checked for NULL, but unconditionally dereferenced later in the same function. CC: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_tcs.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mesa/drive