android_kernel_sony_sdm845/drivers/tty/ipwireless
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kangjie Lu b1c2f7d1f8 tty: ipwireless: fix missing checks for ioremap
[ Upstream commit 1bbb1c318cd8a3a39e8c3e2e83d5e90542d6c3e3 ]

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:48:30 -07:00
..
hardware.c tty: ipwireless: fix possible NULL dereference 2016-04-30 09:26:55 -07:00
hardware.h
main.c tty: ipwireless: fix missing checks for ioremap 2019-05-31 06:48:30 -07:00
main.h
Makefile
network.c
network.h
setup_protocol.h
tty.c tty: ipwireless, cleanup TIOCGSERIAL 2016-06-25 08:56:30 -07:00
tty.h