Behdad Esfahbod and Claude Opus 4.8
fb350edda9
[ot] Collect class-based contextual rule classes once per ClassDef in collect_glyphs
...
Rule::collect_second_glyphs() resolved the second input glyph of a
class-based contextual rule by scanning the whole input ClassDef once
per rule, so a RuleSet with many rules sharing one large ClassDef was
quadratic in collect_glyphs() (and thus in subsetting).
Collect the needed classes into a set and walk each ClassDef once for
all of them: add ClassDef::collect_classes(), and have
collect_second_glyphs() accumulate the classes and resolve them in a
single pass. The collected sets are identical; only the work is
reduced.
Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-5FCXNOQF.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-11-10 19:15:42 -06:00
..
2025-02-26 14:41:04 -07:00
2026-11-09 13:18:05 -06:00
2026-07-12 22:20:21 +03:00
2026-10-21 18:13:19 -06:00
2026-10-15 11:16:49 -06:00
2026-10-22 13:04:52 -06:00
2026-10-21 19:58:41 -06:00
2026-10-27 15:42:35 -06:00
2026-11-01 14:14:09 -07:00
2026-10-30 16:10:52 -06:00
2026-10-28 00:03:22 +05:30
2026-10-30 14:53:51 -06:00
2026-10-14 10:51:09 -06:00
2026-10-10 04:04:32 -06:00
2025-04-06 03:49:15 -06:00
2025-07-02 20:14:51 +03:00
2026-10-20 11:25:59 -06:00
2026-11-02 10:52:07 -06:00
2026-10-30 16:35:27 -06:00
2026-10-29 19:28:41 -06:00
2026-10-02 11:22:24 -06:00
2026-10-22 19:31:32 +03:00
2026-11-10 16:21:48 -06:00
2025-04-06 18:08:50 -06:00
2026-11-04 12:05:35 -06:00
2025-04-06 03:49:15 -06:00
2026-11-09 13:00:15 -06:00
2026-11-08 14:36:19 -06:00
2026-06-02 02:33:52 -06:00
2025-04-25 19:04:37 -06:00
2026-01-10 07:42:07 -07:00
2025-03-23 15:40:41 +02:00
2026-11-01 14:22:23 -07:00
2026-10-18 19:54:45 -06:00
2026-07-30 19:02:25 -06:00
2026-11-04 12:02:49 -06:00
2021-11-01 17:59:48 -07:00
2026-11-09 11:47:15 -06:00
2026-11-09 18:28:24 -06:00
2026-10-30 15:30:37 -06:00
2026-04-18 19:54:54 -06:00
2026-10-30 16:55:57 -06:00
2026-10-30 17:00:07 -06:00
2026-10-27 15:42:35 -06:00
2026-10-30 16:35:27 -06:00
2025-04-06 03:49:15 -06:00
2025-04-06 19:16:43 -06:00
2026-10-30 15:04:54 -06:00
2026-11-10 19:15:42 -06:00
2026-11-09 17:54:20 -06:00
2026-11-10 16:11:44 -06:00
2026-10-21 19:58:41 -06:00
2026-11-01 19:26:02 -07:00
2026-07-31 04:31:26 +03:00
2025-04-06 03:49:15 -06:00
2026-11-10 16:10:13 -06:00
2025-04-05 22:37:10 -06:00
2025-04-06 03:49:15 -06:00
2019-08-13 21:02:47 -07:00
2026-10-31 22:00:12 -06:00
2026-10-30 16:35:27 -06:00
2025-04-05 22:37:10 -06:00
2026-07-08 00:53:56 -06:00
2026-07-21 18:47:36 -06:00
2026-10-31 22:45:12 -06:00
2026-11-09 20:29:35 -06:00
2026-10-07 12:19:48 -06:00
2026-10-20 11:25:59 -06:00
2026-10-30 16:49:35 -06:00
2026-11-08 12:33:39 -06:00
2024-02-10 07:08:18 -07:00
2026-08-15 11:43:02 -06:00
2026-10-30 15:10:33 -06:00
2026-11-09 13:18:05 -06:00
2026-11-09 13:18:05 -06:00
2026-11-08 14:36:19 -06:00
2026-11-09 12:52:43 -06:00
2025-04-06 03:49:15 -06:00
2026-10-31 22:00:12 -06:00
2026-11-04 17:05:57 -06:00
2026-11-04 12:04:23 -06:00
2025-04-06 03:49:15 -06:00
2026-06-05 13:35:05 +02:00
2021-07-29 18:30:27 -07:00
2026-10-11 00:41:07 -06:00
2026-10-30 15:26:52 -06:00
2018-10-21 11:27:05 +03:30
2018-10-21 11:27:05 +03:30
2026-10-29 20:56:03 -06:00
2020-01-15 13:36:01 -08:00
2026-11-09 13:17:50 -06:00
2018-10-21 11:27:05 +03:30
2021-07-29 18:30:27 -07:00
2026-11-10 16:50:50 -06:00
2026-09-17 00:37:58 +03:00
2025-06-08 13:43:27 +03:00
2025-04-06 03:49:15 -06:00