Page MenuHomeFreeBSD

gvinum: correct assertions
ClosedPublic

Authored by emaste on Dec 12 2022, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
May 22 2026, 6:37 AM
Unknown Object (File)
May 21 2026, 8:46 PM
Unknown Object (File)
May 10 2026, 1:40 PM
Unknown Object (File)
May 5 2026, 4:22 PM
Unknown Object (File)
May 2 2026, 11:17 PM
Unknown Object (File)
May 2 2026, 10:37 PM
Unknown Object (File)
Apr 28 2026, 9:26 PM
Unknown Object (File)
Apr 28 2026, 9:22 PM
Subscribers

Details

Summary
Pointer addresses are always >= 0.  Assert that the value is >= 0
instead.

PR:             207855, 207856
Sponsored by:   The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.
imp added a subscriber: imp.

Sure, but there's a good chance that long-undetected bugs may render gvinum unusable :)

This revision is now accepted and ready to land.Dec 12 2022, 9:10 PM
This revision was automatically updated to reflect the committed changes.