mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
* [subset] Return size_t rather than unsigned from get_size() methods It's possible some get_size() computations during serialization may overflow 32-bit arithmetic. (The result of get_size() is used as size_t when allocating via hb_serialize_context_t::extend(), but if the return value was declared as unsigned int, the value may have wrapped resulting in under-allocation.) * [subset] Use size_t when accumulating subset_data_size * [graph] Use size_t (rather than signed int64_t) for vertex_len variables * Use size_t for sanitize_closure_t::stride to avoid narrowing