diff options
author | 2023-05-25 00:13:38 +0900 | |
---|---|---|
committer | 2023-05-26 20:27:46 -0500 | |
commit | 6fe55c2799bc29624770c26f98ba7b06214f43e0 (patch) | |
tree | e631fa43c6372743637a078b25dc3f4bcdb5d756 /scripts/generate_rust_analyzer.py | |
parent | ksmbd: fix incorrect AllocationSize set in smb2_get_info (diff) | |
download | wireguard-linux-6fe55c2799bc29624770c26f98ba7b06214f43e0.tar.xz wireguard-linux-6fe55c2799bc29624770c26f98ba7b06214f43e0.zip |
ksmbd: call putname after using the last component
last component point filename struct. Currently putname is called after
vfs_path_parent_lookup(). And then last component is used for
lookup_one_qstr_excl(). name in last component is freed by previous
calling putname(). And It cause file lookup failure when testing
generic/464 test of xfstest.
Fixes: 74d7970febf7 ("ksmbd: fix racy issue from using ->d_parent and ->d_name")
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions