diff options
author | Tom Cherry <tomcherry@google.com> | 2020-04-09 14:53:55 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-04-09 15:48:44 -0700 |
commit | d3ecc66b9cb38974ef0d19ed9e25074bbe70f1fa (patch) | |
tree | e9fcc0d93eeb848d0b2152c5d3e6342db4235fff /trusty/coverage/coverage_test.cpp | |
parent | 56cd920ff80dc6fac8223897dcb1dd2a02f9f5af (diff) |
liblog: support extended logger_entry headers
logger_entry has a hdr_size field meant for backwards compatibility,
however there are a few checks that expect it to be a specific size.
More problematically, it has a variable length array element, msg[0]
at the end, that would be incorrect if the header size was not kept
static.
This change fixes up those issues to facilitate future additions.
Bug: 119867234
Test: logging works with extended size headers, logging unit tests
Test: newly added unit tests with extended size header
Change-Id: I14b2b0855d219d11f374b53a5aa8e05cd6a65eef
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions