Home
last modified time | relevance | path

Searched hist:df14afee (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.cdf14afee Sat May 13 20:02:27 CDT 2023 Namjae Jeon <linkinjeon@kernel.org> 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>