diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2023-05-12 17:05:41 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-26 20:27:46 -0500 |
commit | 48b47f0caaa8a9f05ed803cb4f335fa3a7bfc622 (patch) | |
tree | 4a4fb2965d22021146ac38b26771e1c520090117 /scripts/gdb/linux/proc.py | |
parent | 0d85b27b0cc6b5cf54567c5ad913a247a71583ce (diff) |
ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
Uninitialized rd.delegated_inode can be used in vfs_rename().
Fix this by setting rd.delegated_inode to NULL to avoid the uninitialized
read.
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions