diff options
author | Kangjie Lu <[email protected]> | 2019-04-01 17:46:58 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2019-04-01 17:46:58 +0200 |
commit | ec7f6aad57ad29e4e66cc2e18e1e1599ddb02542 (patch) | |
tree | 8edf09c212e2ff769f36d345702bccc4c4ebbc17 /scripts/gdb/linux/proc.py | |
parent | b0e999c9558194a7b8908c41eaa7903e27fdb8c8 (diff) |
video: hgafb: fix potential NULL pointer dereference
When ioremap fails, hga_vram should not be dereferenced. The fix
check the failure to avoid NULL pointer dereference.
Signed-off-by: Kangjie Lu <[email protected]>
Cc: Aditya Pakki <[email protected]>
Cc: Ferenc Bakonyi <[email protected]>
[b.zolnierkie: minor patch summary fixup]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions