[PATCH] video: hgafb: fix a NULL pointer dereference

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Mon Apr 1 14:41:20 UTC 2019


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 <kjlu at umn.edu>

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


More information about the dri-devel mailing list