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

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2019-04-01 13:01:53
Also in
dri-devel, linux-omap, lkml
Reply to
Aditya Pakki, 2019-03-02
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 <redacted>
Patch queued for v5.2, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (2 messages) 2 messages, 2 authors, last reply 2019-04-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help