acrn-kernel/fs/overlayfs
Miklos Szeredi 580c610429 ovl: fix uninitialized pointer read in ovl_lookup_real_one()
One error path can result in release_dentry_name_snapshot() being called
before "name" was initialized by take_dentry_name_snapshot().

Fix by moving the release_dentry_name_snapshot() to immediately after the
only use.

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2021-08-10 10:21:30 +02:00
..
Kconfig
Makefile
copy_up.c
dir.c
export.c
file.c
inode.c
namei.c
overlayfs.h
ovl_entry.h
readdir.c
super.c
util.c