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

From: Bartlomiej Zolnierkiewicz
Date: Mon Apr 01 2019 - 09:01:53 EST



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@xxxxxxx>

Patch queued for v5.2, thanks.

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