mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
The raster backend lets push_transform() fail under the fuzzing failing- allocator path, but pop_transform() always removed the current stack entry. That can discard the base transform when a nested push did not actually land, corrupting subsequent raster operations. Guard pop_transform() so it only removes nested transforms and preserves the base transform frame. Tested: - meson compile -C build hb-raster-fuzzer Speculative fix for: https://oss-fuzz.com/testcase-detail/4743569679384576 Assisted-by: OpenAI Codex