Files
harfbuzz/src/graph
Behdad Esfahbod 0bf6733c0e [graph] Reject non-v1 GSUB/GPOS graph roots
The repacker graph sanitizer accepted non-v1 GSUB/GPOS roots
because GSUBGPOS::get_size() returns only the version field size
for unsupported major versions. Graph specialization then still
consulted the numeric version and could read the v1.2 lookupList2
field from a too-small fuzz object.

Require version major 1 before using GSUB/GPOS graph-specific
lookup discovery.

Testing: meson test -C build test-repacker test-classdef-graph
Testing: meson test -C build --suite subset
Testing: meson test -C build

Assisted-by: OpenAI Codex
2026-06-05 12:34:52 +02:00
..