Files
linux/drivers/net/wan
Pan Bian 39e7fce28c wan: pc300too: abort path on failure
[ Upstream commit 2a39e7aa8a ]

In function pc300_pci_init_one(), on the ioremap error path, function
pc300_pci_remove_one() is called to free the allocated memory. However,
the path is not terminated, and the freed memory will be used later,
resulting in use-after-free bugs. This path fixes the bug.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 10:58:43 +01:00
..
2015-04-07 15:21:54 -04:00
2011-09-16 19:20:20 -04:00
2015-09-05 17:32:53 -07:00
2008-01-18 14:44:33 -05:00