mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Axis-value variation deltas can push a rounded component coordinate outside the range of int. Assigning that float to coord_setter then triggers undefined behavior in the conversion. Use hb_clamp_to<int>() after rounding, preserving in-range behavior while saturating extreme values. Add the minimized raster-fuzzer input. Tested with meson test -C build and the ASan/UBSan raster fuzzer. Assisted-by: OpenAI Codex