Page MenuHomeFreeBSD

ffs: Correct the input size check in sysctl_ffs_fsck()
ClosedPublic

Authored by markj on May 31 2021, 7:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 28, 4:04 PM
Unknown Object (File)
Fri, Jun 27, 2:43 AM
Unknown Object (File)
Thu, Jun 26, 3:44 AM
Unknown Object (File)
Wed, Jun 25, 7:32 PM
Unknown Object (File)
Wed, Jun 25, 11:03 AM
Unknown Object (File)
Jun 3 2025, 2:53 PM
Unknown Object (File)
May 24 2025, 6:07 AM
Unknown Object (File)
May 21 2025, 3:08 PM
Subscribers

Details

Summary

Make sure we return an error if no input was specified, or if it is
shorter than the size of the command structure.

Reported by: KMSAN
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable