aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorPaulo Alcantara <[email protected]>2021-11-12 18:16:08 +0000
committerSteve French <[email protected]>2021-11-12 18:59:59 +0000
commit7f28af9cf542f61758b982f8304f951ca99c8f58 (patch)
tree58dc163d9de07ac2cb55e5ca2c7928c7daf215a9 /drivers/fpga/altera-fpga2sdram.c
parentcifs: fix memory leak of smb3_fs_context_dup::server_hostname (diff)
downloadkernel-7f28af9cf542f61758b982f8304f951ca99c8f58.tar.gz
kernel-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) <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions