Page MenuHomeFreeBSD

libgeom: Improve type safety of xml2tree code
ClosedPublic

Authored by des on Jan 2 2026, 12:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 17, 2:20 AM
Unknown Object (File)
Thu, Jun 4, 3:54 PM
Unknown Object (File)
Thu, Jun 4, 1:07 PM
Unknown Object (File)
Thu, Jun 4, 1:07 PM
Unknown Object (File)
Wed, May 20, 10:29 PM
Unknown Object (File)
Wed, May 20, 3:56 AM
Unknown Object (File)
Wed, May 20, 2:55 AM
Unknown Object (File)
May 16 2026, 4:25 PM
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