Re: [Mesa-dev] [PATCH] draw: Add a null check for draw.

2013-09-30 Thread Brian Paul
On 09/27/2013 10:51 PM, Vinson Lee wrote: There is an earlier null check for draw so draw could be null here as well. Fixes "Dereference after null check" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/draw/draw_pipe_unfilled.c | 2 +- 1 file changed, 1 ins

[Mesa-dev] [PATCH] draw: Add a null check for draw.

2013-09-27 Thread Vinson Lee
There is an earlier null check for draw so draw could be null here as well. Fixes "Dereference after null check" defect reported by Coverity. Signed-off-by: Vinson Lee --- src/gallium/auxiliary/draw/draw_pipe_unfilled.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gal