DescriptionCorrect order for alignment in name iterator record.
We must be quite careful about the order of fields in a 'pragma pack(1)'.
On Android the order 'uint16_t, void*' will misalign the pointer,
potentially leading to a crash.
In the future we should move anything which is not strictly part of the
table definition outside of the packed region.
Committed: https://skia.googlesource.com/skia/+/0a25b2ccf850ea41f3b083422f0420822832c540
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|