Page MenuHomeFreeBSD

libgeom: Improve type safety of xml2tree code
ClosedPublic

Authored by des on Jan 2 2026, 12:26 PM.
Tags
None
Referenced Files
F174625291: D54454.id168876.diff
Sun, Oct 4, 6:42 PM
F174620622: D54454.id168945.diff
Sun, Oct 4, 5:54 PM
Unknown Object (File)
Fri, Oct 2, 6:23 AM
Unknown Object (File)
Thu, Oct 1, 9:59 AM
Unknown Object (File)
Mon, Sep 28, 8:58 PM
Unknown Object (File)
Sat, Sep 26, 3:53 PM
Unknown Object (File)
Thu, Sep 24, 10:02 AM
Unknown Object (File)
Thu, Sep 24, 7:00 AM
Subscribers

Details

Summary

When resolving references, assert that the type of the object we find
is what we expect. This will help prevent memory corruption if two
objects of different types somehow end up with the same identifier.

MFC after: 1 week

Diff Detail

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