Page MenuHomeFreeBSD

libstats: Fix ABI assertion.
ClosedPublic

Authored by brooks on Oct 30 2019, 3:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 2:53 AM
Unknown Object (File)
Sun, Dec 22, 10:43 PM
Unknown Object (File)
Dec 10 2024, 7:25 PM
Unknown Object (File)
Dec 7 2024, 12:42 AM
Unknown Object (File)
Nov 20 2024, 7:45 PM
Unknown Object (File)
Nov 16 2024, 12:07 PM
Unknown Object (File)
Nov 11 2024, 12:22 AM
Unknown Object (File)
Oct 23 2024, 10:35 AM
Subscribers

Details

Summary

On platforms where pointers are larger than 64-bits, struct statsblob
may be harmlessly padded out such that opaque[] always has some included
space. Make the assertion more general by comparing to the offset of
opaque rather than the size of sizeof(struct statsblob).

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27271
Build 25534: arc lint + arc unit