Page MenuHomeFreeBSD

gvinum: correct assertions
ClosedPublic

Authored by emaste on Dec 12 2022, 5:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 2, 3:31 AM
Unknown Object (File)
Sat, Mar 29, 5:36 AM
Unknown Object (File)
Sat, Mar 8, 5:32 AM
Unknown Object (File)
Feb 4 2025, 7:12 PM
Unknown Object (File)
Jan 27 2025, 5:47 AM
Unknown Object (File)
Jan 24 2025, 5:15 AM
Unknown Object (File)
Dec 25 2024, 11:58 AM
Unknown Object (File)
Dec 20 2024, 1:46 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.