diff options
author | Hangyu Hua <hbh25y@gmail.com> | 2023-02-17 16:29:34 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-02-20 02:57:25 +0300 |
commit | d3ca9f7aeba793d74361d88a8800b2f205c9236b (patch) | |
tree | 073b0a34b682551e1ef2058b6dcef8c3bb4f1e7b /net/dsa | |
parent | fb533473d1595fe79ecb528fda1de33552b07178 (diff) | |
download | linux-d3ca9f7aeba793d74361d88a8800b2f205c9236b.tar.xz |
ksmbd: fix possible memory leak in smb2_lock()
argv needs to be free when setup_async_work fails or when the current
process is woken up.
Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3")
Cc: stable@vger.kernel.org
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions