Files
harfbuzz/test/shape/data/in-house/tests
Behdad EsfahbodandClaude Opus 4.8 703509a9d9 [GPOS] Bound cross-offset resolution by the glyph count (#6492)
Cursive lookups with different flags can create an attachment cycle.
The const cross-offset walker then follows it forever when attaching
a mark. An acyclic chain over len glyphs has at most len - 1 links;
stop at that bound while retaining every valid forward and backward
chain and the existing offset accumulation behavior.

Add an in-house shaping regression instead of a bespoke unit test:
a tiny payload font whose two cursive lookups (one RightToLeft, one
IgnoreMarks) close an A -> B -> C -> A cycle, with a MarkBasePos that
attaches a mark onto C. Shaping ABCD looped forever before the fix and
now terminates. The original hang is reproduced on the unpatched tree;
the patched build shapes it identically under the ot and ft font-funcs.
The full Meson suite passes (274 tests), including shaping.

Reported by Anthropic's OSS Scanner as ANT-2026-PRD7EFA6.

Assisted-by: OpenAI Codex

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-30 14:48:18 -06:00
..
2025-03-18 14:59:26 -06:00
2021-08-11 18:49:59 -06:00
2021-08-11 18:49:59 -06:00
2022-01-19 16:05:09 +02:00
2025-11-10 02:55:44 -07:00
2021-08-11 18:49:59 -06:00
2026-10-22 17:05:31 +03:00
2021-08-11 18:49:59 -06:00
2021-08-11 18:49:59 -06:00
2021-08-11 18:49:59 -06:00
2022-03-21 21:50:04 -06:00