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, May 27, 1:25 PM
Unknown Object (File)
Thu, May 25, 2:45 AM
Unknown Object (File)
Mon, May 15, 5:19 AM
Unknown Object (File)
Apr 26 2023, 4:10 AM
Unknown Object (File)
Mar 31 2023, 10:24 PM
Unknown Object (File)
Feb 5 2023, 12:38 AM
Unknown Object (File)
Dec 27 2022, 8:26 AM
Unknown Object (File)
Dec 24 2022, 12:03 AM
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