Files
Behdad Esfahbod 5b1aa7c9db [repacker] Bound clone buffers by each ligature split range
Many short ranges allocated the original LigatureSet offset array for
every clone, retaining quadratic buffer space even after shrink_buffer
moved the tails. Bound capacity by the number of offset slots in the
range, since each emitted set consumes at least one slot.

Advance through earlier ligature counts once across ordered ranges and
stop scanning at each range's end. Add a compact graph requiring one
subtable per coverage entry and verify counts, glyphs and connectivity.

An 8000-range run reduces peak RSS from 163 MB to 32 MB. Source-link
movement and coverage filtering still take quadratic time across many
ranges; document that remaining work rather than claiming a full fix.

Testing: full suite (303 passed, 1 skipped), ASan/UBSan repacker tests,
HB_NO_BEYOND_64K repacker tests, and 520 injected allocation failures
in a temporary harness. The combined fix series also passed 228650
ASan fuzzer runs with failing malloc.

Assisted-by: OpenAI Codex
2026-11-12 18:24:28 -06:00
..
2026-08-12 18:27:23 -06:00
2024-03-30 02:20:21 +02:00
2026-07-31 04:31:26 +03:00
2026-07-31 04:31:26 +03:00
…
2025-10-17 15:23:05 -06:00
2023-02-21 18:07:53 +02:00
2026-11-04 23:03:36 +02:00
2026-09-21 00:41:07 +03:00
2026-09-21 00:41:07 +03:00
2026-09-21 00:41:07 +03:00
2025-03-24 00:33:53 +02:00
2025-09-15 23:56:25 -06:00
…
…
2026-04-20 05:10:48 +02:00
2026-04-20 05:10:48 +02:00
2024-10-27 16:14:53 -07:00
…
2026-10-22 17:05:31 +03:00
2023-08-25 07:51:05 -06:00
2023-06-03 14:56:47 -06:00
2025-04-08 01:58:10 -06:00
2025-08-07 22:38:58 -06:00
2026-07-31 17:49:40 +03:00
2026-07-31 17:49:40 +03:00
2023-02-11 23:52:58 +02:00
2025-08-07 22:38:58 -06:00
2026-03-19 00:45:24 +02:00
2024-04-16 17:10:09 -06:00
2026-07-31 04:31:26 +03:00
2026-09-21 00:41:07 +03:00
2026-09-21 00:41:07 +03:00
2026-08-26 22:27:05 +03:00
2026-08-19 16:00:05 -06:00
2025-07-23 21:39:23 +03:00
2024-08-23 08:58:50 -06:00
2026-07-31 17:49:40 +03:00
2025-01-11 18:13:18 +02:00
2026-07-30 12:00:47 -06:00
2026-10-01 16:27:20 -06:00
…
2023-04-27 00:48:00 +02:00
2026-04-20 01:29:49 +02:00
2026-11-04 23:03:36 +02:00
2025-03-07 18:19:29 -07:00
2026-08-12 18:33:09 -06:00
…
2023-01-12 17:04:24 -07:00