HomeFreeBSD

nfsd: Sanity check the ACL attribute

Description

nfsd: Sanity check the ACL attribute

When an ACL is presented to the NFSv4 server in
Setattr or Verify, parsing of the ACL assumed a
sane acecnt and sane sizes for the "who" strings.
This patch adds sanity checks for these.

The patch also fixes handling of an error
return from nfsrv_dissectacl() for one broken
case.

PR: 260111

(cherry picked from commit fd020f197d6ac481d36171ea69fe555eb911d673)

Details

Provenance
rmacklemAuthored on Dec 1 2021, 9:55 PM
Parents
rGaeef12228a45: OpenSSL: Merge OpenSSL 1.1.1m
Branches
Unknown
Tags
Unknown