Re: [Mesa-dev] [PATCH 2/2] glsl: Make sure not to dereference NULL

2015-07-06 Thread Matt Turner
On Sat, Jul 4, 2015 at 2:40 PM, Neil Roberts n...@linux.intel.com wrote: In this bit of code point_five can be NULL if the expression is not a constant. This fixes it to match the pattern of the rest of the chunk of code so that it checks for NULLs. Cc: Matt Turner matts...@gmail.com Cc:

[Mesa-dev] [PATCH 2/2] glsl: Make sure not to dereference NULL

2015-07-04 Thread Neil Roberts
In this bit of code point_five can be NULL if the expression is not a constant. This fixes it to match the pattern of the rest of the chunk of code so that it checks for NULLs. Cc: Matt Turner matts...@gmail.com Cc: 10.6 mesa-sta...@lists.freedesktop.org --- src/glsl/opt_algebraic.cpp | 2 +- 1