mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 09:34:05 +01:00
Glyph extents from malicious fonts can have extreme values that overflow when computing x_bearing + width or the width/height deltas in hb_gpu_paint_encode. Widen to int64_t before the arithmetic. Fixes: https://oss-fuzz.com/testcase-detail/crash-8a9ba2164fd1e6a6fd7a8ed566cf4d0350c1357e Assisted-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>