HomeFreeBSD

ffs: Correct the input size check in sysctl_ffs_fsck()

Description

ffs: Correct the input size check in sysctl_ffs_fsck()

Make sure we return an error if no input was specified, since
SYSCTL_IN() will report success in that case.

Reported by: KMSAN
Reviewed by: mckusick
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30586

Details

Provenance
markjAuthored on May 31 2021, 10:56 PM
Reviewer
mckusick
Differential Revision
D30586: ffs: Correct the input size check in sysctl_ffs_fsck()
Parents
rGf96603b56f0f: tcp, udp: Permit binding with AF_UNSPEC if the address is INADDR_ANY
Branches
Unknown
Tags
Unknown