Skip to content
Commit 7cdfa442 authored by David Howells's avatar David Howells Committed by Al Viro
Browse files

vfs: Fix refcounting of filenames in fs_parser



Fix an overput in which filename_lookup() unconditionally drops a ref to
the filename it was given, but this isn't taken account of in the caller,
fs_lookup_param().

Addresses-Coverity-ID: 1443811 ("Use after free")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent c3aabf07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment