HomeFreeBSD

Fix leak in libc NFSv4 ACL flags parsing

Description

Fix leak in libc NFSv4 ACL 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
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D29871

(cherry picked from commit dd559118ab3f065ae230b324c3fe4bb1c9b7ca56)

Details

Provenance
walker.aj325_gmail.comAuthored on Apr 20 2021, 7:34 PM
freqlabsCommitted on Apr 23 2021, 10:41 AM
Reviewer
allanjude
Differential Revision
D29871: fix leak in lib/libc/posix1e/acl_support_nfs4.c
Parents
rGab9104cbe4d5: tcp: Deal with DSACKs, and adjust rescue hole on success.
Branches
Unknown
Tags
Unknown