[Intel-gfx] [PATCH 3/7] sna: check for NULL before dereferencing a pointer

Chris Wilson chris at chris-wilson.co.uk
Fri Feb 12 16:48:56 UTC 2016


On Fri, Feb 12, 2016 at 06:31:25PM +0200, Martin Peres wrote:
> Caught by Klockwork and I genuinely can't tell if it is safe without
> it, especially since all the surrounding code is checking for NULL.

Impossible.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list