Page MenuHomeFreeBSD

libstats: Fix ABI assertion.
ClosedPublic

Authored by brooks on Oct 30 2019, 3:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 7:45 PM
Unknown Object (File)
Sat, Nov 16, 12:07 PM
Unknown Object (File)
Mon, Nov 11, 12:22 AM
Unknown Object (File)
Oct 23 2024, 10:35 AM
Unknown Object (File)
Sep 19 2024, 1:48 PM
Unknown Object (File)
Sep 14 2024, 7:19 AM
Unknown Object (File)
Sep 6 2024, 2:20 PM
Unknown Object (File)
Sep 1 2024, 9:25 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable