[PATCH] omapfb: Fix potential NULL pointer dereference in kmalloc

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Mon Apr 1 13:01:46 UTC 2019


On 03/02/2019 09:40 PM, Aditya Pakki wrote:
> Memory allocated, using kmalloc, for new_compat may fail. This patch
> checks for such an error and prevents potential NULL pointer
> dereference.
> 
> Signed-off-by: Aditya Pakki <pakki001 at umn.edu>

Patch queued for v5.2, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


More information about the dri-devel mailing list