diff options
| author | Pan Bian <bianpan2016@163.com> | 2017-04-23 17:38:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-24 10:58:43 +0100 |
| commit | 39e7fce28c03b4701c9af3ba4f18e052936e0207 (patch) | |
| tree | c1202aeab13e4366566307a4704e859316b29784 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 0a5598b5811c92ff535a0277e7eb8f00cc152326 (diff) | |
wan: pc300too: abort path on failure
[ Upstream commit 2a39e7aa8a98f777f0732ca7125b6c9668791760 ]
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
