diff options
author | David Matlack <dmatlack@google.com> | 2014-05-06 04:02:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-23 11:08:33 (GMT) |
commit | a286e34de0568903e93d54beb1c62ce19f1b5031 (patch) | |
tree | 79e710dc853bde8b4e36bb5898e7e877e091c10b /arch/sparc | |
parent | 65bc0aaa9c2aa691e313a92250463008fb63266d (diff) | |
download | linux-a286e34de0568903e93d54beb1c62ce19f1b5031.tar.xz |
staging: slicoss: fix multiple free-after-free in slic_entry_remove
This patch fixes two free-after-free bugs in slic_entry_remove.
Specifically, slic_unmap_mmio_space() iounmaps adapter->slic_regs,
which is the same region of memory as dev->base_addr (iounmap-ed
a few lines later).
Next, both release_mem_region() and pci_release_regions() are called
on the same pci_dev struct.
Signed-off-by: David Matlack <dmatlack@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions