Page MenuHomeFreeBSD

stand: ufs directory corruption sanity checks
AcceptedPublic

Authored by rlibby on Thu, Sep 3, 11:32 PM.
Tags
None
Referenced Files
F174180822: D59378.diff
Thu, Oct 1, 4:47 AM
Unknown Object (File)
Mon, Sep 28, 4:42 PM
Unknown Object (File)
Sun, Sep 27, 9:39 PM
Unknown Object (File)
Thu, Sep 24, 7:16 AM
Unknown Object (File)
Wed, Sep 23, 1:07 PM
Unknown Object (File)
Tue, Sep 22, 4:34 AM
Unknown Object (File)
Wed, Sep 16, 1:39 AM
Unknown Object (File)
Sat, Sep 12, 8:40 PM
Subscribers

Details

Summary

Add sanity checks for corrupt UFS directory blocks. Don't allow bad
data to cause buffer overflows or infinite loops.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77459
Build 74342: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Tue, Sep 29, 2:49 AM
stand/libsa/ufs.c
81

Neither of these is needed since they just are wrappers around stand.h

imp: rely on stand.h for string.h and strings.h

This revision now requires review to proceed.Tue, Sep 29, 4:16 PM
This revision is now accepted and ready to land.Wed, Sep 30, 2:26 AM