diff options
author | Dan Carpenter <[email protected]> | 2022-11-15 16:17:43 +0300 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2022-11-15 08:14:29 -0600 |
commit | a92ce570c81dc0feaeb12a429b4bc65686d17967 (patch) | |
tree | 5a53dc2a26bfa737934cd80bf1d9dae4d6350e74 /drivers/fpga/xilinx-spi.c | |
parent | 0eb1762f3c77a20f4a93f29239f0cb0a52d41dd6 (diff) |
ipmi: fix use after free in _ipmi_destroy_user()
The intf_free() function frees the "intf" pointer so we cannot
dereference it again on the next line.
Fixes: cbb79863fc31 ("ipmi: Don't allow device module unload when in use")
Signed-off-by: Dan Carpenter <[email protected]>
Message-Id: <Y3M8xa1drZv4CToE@kili>
Cc: <[email protected]> # 5.5+
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions