Re: [Intel-gfx] [PATCH 4/7] sna: assert a pointer is non-NULL before dereferencing it

2016-02-12 Thread Chris Wilson
On Fri, Feb 12, 2016 at 06:31:26PM +0200, Martin Peres wrote: > Caught by Klockwork. Impossible. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailma

[Intel-gfx] [PATCH 4/7] sna: assert a pointer is non-NULL before dereferencing it

2016-02-12 Thread Martin Peres
Caught by Klockwork. Signed-off-by: Martin Peres --- src/sna/sna_accel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c index 8ceb1e1..f1c136a 100644 --- a/src/sna/sna_accel.c +++ b/src/sna/sna_accel.c @@ -4376,6 +4376,7 @@ sna_pixmap_move_to_gpu(Pi