diff options
author | 2021-11-12 15:16:08 -0300 | |
---|---|---|
committer | 2021-11-12 12:59:59 -0600 | |
commit | 7f28af9cf542f61758b982f8304f951ca99c8f58 (patch) | |
tree | 58dc163d9de07ac2cb55e5ca2c7928c7daf215a9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cifs: fix memory leak of smb3_fs_context_dup::server_hostname (diff) | |
download | wireguard-linux-7f28af9cf542f61758b982f8304f951ca99c8f58.tar.xz wireguard-linux-7f28af9cf542f61758b982f8304f951ca99c8f58.zip |
cifs: fix potential use-after-free bugs
Ensure that share and prefix variables are set to NULL after kfree()
when looping through DFS targets in __tree_connect_dfs_target().
Also, get rid of @ref in __tree_connect_dfs_target() and just pass a
boolean to indicate whether we're handling link targets or not.
Fixes: c88f7dcd6d64 ("cifs: support nested dfs links over reconnect")
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions