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

2019-04-01 Thread Bartlomiej Zolnierkiewicz
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 Patch queued for v5.2, thanks. Best regards, -- Bartlomiej

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

2019-03-03 Thread Aditya Pakki
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 --- drivers/video/fbdev/omap2/omapfb/dss/omapdss-boot-init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git