Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
- Loading branch information