Re: [PATCH] video: hgafb: fix a NULL pointer dereference
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2019-04-01 14:41:27
Also in:
dri-devel, lkml
From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2019-04-01 14:41:27
Also in:
dri-devel, lkml
On 03/14/2019 08:30 AM, Kangjie Lu wrote:
When ioremap fails, hga_vram should not be dereferenced. The fix check the failure to avoid NULL pointer dereference. Signed-off-by: Kangjie Lu <redacted>
Patch queued for v5.2 with minor change in the patch summary
("video: hgafb: fix potential NULL pointer dereference"), thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics