← WebKit — 2026-W37
6279ebe3bd2d66f31d3321368980e5cc7d84aeb3 [YARR] Share built-in character classes between all `YarrPattern`s
not a security fix
confidence 0.1
signal score 6.97
Source/JavaScriptCore/yarr
Classified as not security-relevant.
Triage note: YARR refactor: CharacterClass* changed to const CharacterClass* throughout and built-in character classes turned into process-wide std::call_once singletons (sharedCharacterClass). Const-correctness plus singleton consolidation; no memory-safety or logic bug fixed.
This commit was flagged by the signal scorer and reviewed by AI (not a human). It is listed only so the triage is auditable; there is no root-cause analysis because this is not a vulnerability fix.
Triage note: YARR refactor: CharacterClass* changed to const CharacterClass* throughout and built-in character classes turned into process-wide std::call_once singletons (sharedCharacterClass). Const-correctness plus singleton consolidation; no memory-safety or logic bug fixed.
This commit was flagged by the signal scorer and reviewed by AI (not a human). It is listed only so the triage is auditable; there is no root-cause analysis because this is not a vulnerability fix.
Structural signals: smartptr_member_added (+6.47), checked_int (+2.5), large_churn (-2.0)
Before / after
Loading diff…
On This Page