HomeFreeBSD

nfsd: Sanity check the len argument for ListXattr

Description

nfsd: Sanity check the len argument for ListXattr

The check for the original len being >= retlen needs to
be done before the "if (nd->nd_repstat == 0)" code, so
that it can be reported as too small.

PR: 260046

(cherry picked from commit 5b430a132330bd4a4ea37780807947f3800d009e)

Details

Provenance
rmacklemAuthored on Nov 26 2021, 11:56 PM
Parents
rGefb381caf102: EC2: Turn off IPv6 DAD
Branches
Unknown
Tags
Unknown