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
F171223890: D30586.diff
Wed, Sep 9, 3:36 PM
F171203358: D30586.id90200.diff
Wed, Sep 9, 12:07 PM
F171203264: D30586.id90200.diff
Wed, Sep 9, 12:07 PM
F171122932: D30586.id.diff
Tue, Sep 8, 8:37 PM
Unknown Object (File)
Sat, Sep 5, 10:55 PM
Unknown Object (File)
Sat, Sep 5, 9:57 AM
Unknown Object (File)
Fri, Sep 4, 10:32 AM
Unknown Object (File)
Fri, Sep 4, 10:28 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39609
Build 36498: arc lint + arc unit