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, Apr 24, 5:18 AM
Unknown Object (File)
Feb 17 2024, 6:16 AM
Unknown Object (File)
Feb 13 2024, 3:57 AM
Unknown Object (File)
Feb 8 2024, 1:55 PM
Unknown Object (File)
Feb 4 2024, 10:14 PM
Unknown Object (File)
Dec 22 2023, 9:57 PM
Unknown Object (File)
Dec 12 2023, 6:12 AM
Unknown Object (File)
Nov 17 2023, 11:47 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