HomeFreeBSD

Fix leak in libc NFSv4 flags parsing

Description

Fix leak in libc NFSv4 flags parsing

Free memory allocated by strdup() in parse_flags_verbose().

Submitted by: Andrew Walker <walker.aj325_gmail.com>
Reported by: valgrind
Reviewed by: allanjude, freqlabs, rpokala
MFC after: 3 days
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D29871

Details

Provenance
walker.aj325_gmail.comAuthored on Apr 20 2021, 7:34 PM
freqlabsCommitted on Apr 20 2021, 7:39 PM
Reviewer
allanjude
Differential Revision
D29871: fix leak in lib/libc/posix1e/acl_support_nfs4.c
Parents
rGb8be8094958a: wlanstats: fix build
Branches
Unknown
Tags
Unknown