summaryrefslogtreecommitdiff
path: root/fs/nilfs2
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2023-05-14 04:02:27 +0300
committerSteve French <stfrench@microsoft.com>2023-05-27 04:27:46 +0300
commitdf14afeed2e6c1bbadef7d2f9c46887bbd6d8d94 (patch)
tree497780355af0efa37554a3ef6e89399d4c508884 /fs/nilfs2
parent48b47f0caaa8a9f05ed803cb4f335fa3a7bfc622 (diff)
downloadlinux-df14afeed2e6c1bbadef7d2f9c46887bbd6d8d94.tar.xz
ksmbd: fix uninitialized pointer read in smb2_create_link()
There is a case that file_present is true and path is uninitialized. This patch change file_present is set to false by default and set to true when patch is initialized. Fixes: 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name") Reported-by: Coverity Scan <scan-admin@coverity.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/nilfs2')
0 files changed, 0 insertions, 0 deletions