Page MenuHomeFreeBSD

gvinum: correct assertions
ClosedPublic

Authored by emaste on Dec 12 2022, 5:11 PM.
Tags
None
Referenced Files
F84247446: D37677.diff
Tue, May 21, 10:03 AM
Unknown Object (File)
Sat, May 11, 10:29 PM
Unknown Object (File)
Fri, May 10, 12:59 PM
Unknown Object (File)
Fri, May 10, 12:59 PM
Unknown Object (File)
Fri, May 10, 5:56 AM
Unknown Object (File)
Thu, May 9, 1:58 PM
Unknown Object (File)
Jan 5 2024, 5:39 AM
Unknown Object (File)
Jan 5 2024, 5:39 AM
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.