diff options
author | 2019-03-25 16:38:22 +0000 | |
---|---|---|
committer | 2019-05-25 18:00:02 -0400 | |
commit | 7cdfa44227b0d8842d46a775cebe4311150cb8f2 (patch) | |
tree | a6e3cfd0e07a2a7e355fe80a2ec0719f38b71852 /net/socket.c | |
parent | move mount_capable() further out (diff) | |
download | wireguard-linux-7cdfa44227b0d8842d46a775cebe4311150cb8f2.tar.xz wireguard-linux-7cdfa44227b0d8842d46a775cebe4311150cb8f2.zip |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions