aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRonnie Sahlberg <[email protected]>2019-04-09 21:47:22 +0000
committerSteve French <[email protected]>2019-04-16 14:38:26 +0000
commite6d0fb7b34f264f72c33053558a360a6a734905e (patch)
tree5b0981d05bd73ae29925e651ee77a52ddd8fed82 /tools/perf/scripts/python
parentcifs: Fix lease buffer length error (diff)
downloadkernel-e6d0fb7b34f264f72c33053558a360a6a734905e.tar.gz
kernel-e6d0fb7b34f264f72c33053558a360a6a734905e.zip
cifs: fix handle leak in smb2_query_symlink()
If we enter smb2_query_symlink() for something that is not a symlink and where the SMB2_open() would succeed we would never end up closing this handle and would thus leak a handle on the server. Fix this by immediately calling SMB2_close() on successfull open. Signed-off-by: Ronnie Sahlberg <[email protected]> CC: Stable <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions