aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorIgor Matheus Andrade Torrente <[email protected]>2021-05-03 13:57:06 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-13 17:33:55 +0200
commitdc13cac4862cc68ec74348a80b6942532b7735fa (patch)
tree76b99cc1e200e5de2f07838e2d85b5b46f175836 /drivers/usb/cdns3/cdns3-debug.h
parent58c0cc2d90f1e37c4eb63ae7f164c83830833f78 (diff)
video: hgafb: fix potential NULL pointer dereference
The return of ioremap if not checked, and can lead to a NULL to be assigned to hga_vram. Potentially leading to a NULL pointer dereference. The fix adds code to deal with this case in the error label and changes how the hgafb_probe handles the return of hga_card_detect. Cc: Ferenc Bakonyi <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: stable <[email protected]> Signed-off-by: Igor Matheus Andrade Torrente <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions