[Intel-gfx] [PATCH 02/12] intel: Validate output of realloc()
Chris Wilson
chris at chris-wilson.co.uk
Thu Apr 2 03:07:15 PDT 2015
On Thu, Apr 02, 2015 at 02:02:17PM +0530, Praveen Paneri wrote:
> realloc will return NULL if failed to allocate the extra memory
> requested. Return from function if it fails.
NAK. Silently passing absolute addresses to the GPU to read and write is
not a good idea.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list