Page MenuHomeFreeBSD

gvinum: correct assertions
ClosedPublic

Authored by emaste on Dec 12 2022, 5:11 PM.
Tags
None
Referenced Files
F102708174: D37677.id.diff
Sat, Nov 16, 4:07 AM
Unknown Object (File)
Tue, Oct 22, 1:15 PM
Unknown Object (File)
Mon, Oct 21, 3:12 PM
Unknown Object (File)
Mon, Oct 21, 3:12 PM
Unknown Object (File)
Mon, Oct 21, 3:12 PM
Unknown Object (File)
Mon, Oct 21, 2:31 PM
Unknown Object (File)
Fri, Oct 18, 3:51 PM
Unknown Object (File)
Oct 6 2024, 1:55 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.