diff options
author | Dan Carpenter <[email protected]> | 2021-11-17 10:20:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-11-17 14:08:57 +0100 |
commit | b535917c51acc97fb0761b1edec85f1f3d02bda4 (patch) | |
tree | ae0a41d728c25761552ed5614701f9554f058377 /lib/test_fortify/write_overflow-strncpy.c | |
parent | ffcf7ae90f4489047d7b076539ba207024dea5f6 (diff) |
staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
The free_rtllib() function frees the "dev" pointer so there is use
after free on the next line. Re-arrange things to avoid that.
Fixes: 66898177e7e5 ("staging: rtl8192e: Fix unload/reload problem")
Cc: stable <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/20211117072016.GA5237@kili
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions