linux/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
..
2021-04-12 15:04:29 +02:00
2021-08-10 10:21:30 +02:00
2021-04-30 15:17:08 -07:00
2021-04-30 15:17:08 -07:00
2021-04-30 15:17:08 -07:00
2021-04-12 12:00:37 +02:00