linux-uconsole/drivers/tty/ipwireless
Kangjie Lu 19ae270d1c tty: ipwireless: fix missing checks for ioremap
[ Upstream commit 1bbb1c318c ]

ipw->attr_memory and ipw->common_memory are assigned with the
return value of ioremap. ioremap may fail, but no checks
are enforced. The fix inserts the checks to avoid potential
NULL pointer dereferences.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-05-31 06:46:30 -07:00
..
hardware.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
hardware.h
main.c tty: ipwireless: fix missing checks for ioremap 2019-05-31 06:46:30 -07:00
main.h
Makefile
network.c tty: ipwireless: Replace GFP_ATOMIC with GFP_KERNEL in ipwireless_network_create 2018-04-23 10:57:06 +02:00
network.h
setup_protocol.h
tty.c
tty.h