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)
Sun, Mar 16, 6:56 AM
Unknown Object (File)
Feb 25 2025, 1:53 AM
Unknown Object (File)
Feb 24 2025, 7:10 PM
Unknown Object (File)
Feb 23 2025, 9:29 PM
Unknown Object (File)
Feb 23 2025, 9:19 PM
Unknown Object (File)
Feb 5 2025, 3:10 AM
Unknown Object (File)
Jan 28 2025, 11:50 PM
Unknown Object (File)
Jan 20 2025, 1:13 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