Page MenuHomeFreeBSD

libstats: Fix ABI assertion.
ClosedPublic

Authored by brooks on Oct 30 2019, 3:35 AM.
Tags
None
Referenced Files
F156449660: D22188.id63784.diff
Wed, May 13, 6:38 PM
F156417922: D22188.id64019.diff
Wed, May 13, 1:37 PM
Unknown Object (File)
Mon, May 11, 9:19 AM
Unknown Object (File)
Wed, May 6, 3:10 AM
Unknown Object (File)
Thu, Apr 30, 8:40 PM
Unknown Object (File)
Thu, Apr 30, 4:13 PM
Unknown Object (File)
Wed, Apr 29, 4:48 PM
Unknown Object (File)
Mon, Apr 27, 4:58 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