mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
Widen position differences before taking their absolute value. This avoids signed overflow when hb_buffer_diff() compares positions near opposite ends of the hb_position_t range. Add an API regression covering INT32_MIN versus INT32_MAX. Tested with: meson test -C build --print-errorlogs Assisted-by: OpenAI Codex