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
F154039824: D30586.id.diff
Sat, Apr 25, 4:14 PM
F153995913: D30586.id.diff
Sat, Apr 25, 8:12 AM
F153966483: D30586.id90221.diff
Sat, Apr 25, 3:59 AM
Unknown Object (File)
Sat, Apr 25, 1:51 AM
Unknown Object (File)
Wed, Apr 22, 11:15 AM
Unknown Object (File)
Tue, Apr 21, 9:25 AM
Unknown Object (File)
Mon, Apr 20, 9:15 AM
Unknown Object (File)
Sat, Apr 11, 11:16 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