Skip to content
Commit 19e1dbdc authored by Al Viro's avatar Al Viro
Browse files

fuse_dentry_revalidate(): use stable parent inode and name passed by caller



No need to mess with dget_parent() for the former; for the latter we really should
not rely upon ->d_name.name remaining stable - it's a real-life UAF.

Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Acked-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 46436113
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment