Skip to content
Commit 2624b445 authored by ChenXiaoSong's avatar ChenXiaoSong Committed by Steve French
Browse files

ksmbd: fix possible refcount leak in smb2_open()



Reference count of acls will leak when memory allocation fails. Fix this
by adding the missing posix_acl_release().

Fixes: e2f34481 ("cifsd: add server-side procedures for SMB3")
Signed-off-by: default avatarChenXiaoSong <chenxiaosong2@huawei.com>
Acked-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 342edb60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment