diff options
author | Anirudh Rayabharam <[email protected]> | 2021-05-03 13:56:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-13 17:30:31 +0200 |
commit | 52202be1cd996cde6e8969a128dc27ee45a7cb5e (patch) | |
tree | e4d3a376272aad235f3e22f8c477640d5a61c113 /scripts/gdb/linux/lists.py | |
parent | 5f94eaa4ee23e80841fa359a372f84cfe25daee1 (diff) |
net: fujitsu: fix potential null-ptr-deref
In fmvj18x_get_hwinfo(), if ioremap fails there will be NULL pointer
deref. To fix this, check the return value of ioremap and return -1
to the caller in case of failure.
Cc: "David S. Miller" <[email protected]>
Acked-by: Dominik Brodowski <[email protected]>
Signed-off-by: Anirudh Rayabharam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions