commit | 33e2aa316ddc1ccd4d77cfdddfd05f4b84374a80 | [log] [tgz] |
---|---|---|
author | YueHaibing <yuehaibing@huawei.com> | Wed Jan 30 18:30:51 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 29 10:24:13 2020 +0100 |
tree | 320356bd158ca7a367949ca673a1fb3d0187aa44 | |
parent | e6f4125d712fd8bb0039e90d6fa9ba33f73aa7e8 [diff] |
tty: ipwireless: Fix potential NULL pointer dereference [ Upstream commit 7dd50e205b3348dc7784efbdf85723551de64a25 ] There is a potential NULL pointer dereference in case alloc_ctrl_packet() fails and returns NULL. Fixes: 099dc4fb6265 ("ipwireless: driver for PC Card 3G/UMTS modem") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>