mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
[arabic] Cap stch expansion per run (#5823) Cap each stch run to at most 256 output glyphs. This keeps pathological stretch runs from expanding to unbounded sizes, and switches the repeat-count math to 64-bit intermediates so the cap is applied before 32-bit arithmetic can wrap. The existing checked accumulation and buffer growth logic stays in place, covering both the per-run overflow and multi-run accumulation cases reported in the recent stch advisories. Tested: meson test -C build --suite shape Assisted-by: OpenAI Codex [arabic] Improve stch measurement pass (#5808) Use checked arithmetic when calculating the number of extra glyphs needed during stch processing. Includes a new hb_unsigned_add_overflows helper in hb-algs.hh. Co-authored-by: Codex (AI assistant) Co-authored-by: Gemini (AI assistant) [arabic] Change a couple enum values No semantic change.
20 lines
1.5 KiB
JSON
20 lines
1.5 KiB
JSON
[
|
|
{ "patch_dir": "src/electron/patches/chromium", "repo": "src" },
|
|
{ "patch_dir": "src/electron/patches/boringssl", "repo": "src/third_party/boringssl/src" },
|
|
{ "patch_dir": "src/electron/patches/devtools_frontend", "repo": "src/third_party/devtools-frontend/src" },
|
|
{ "patch_dir": "src/electron/patches/ffmpeg", "repo": "src/third_party/ffmpeg" },
|
|
{ "patch_dir": "src/electron/patches/harfbuzz-ng", "repo": "src/third_party/harfbuzz-ng/src" },
|
|
{ "patch_dir": "src/electron/patches/v8", "repo": "src/v8" },
|
|
{ "patch_dir": "src/electron/patches/node", "repo": "src/third_party/electron_node" },
|
|
{ "patch_dir": "src/electron/patches/nan", "repo": "src/third_party/nan" },
|
|
{ "patch_dir": "src/electron/patches/perfetto", "repo": "src/third_party/perfetto" },
|
|
{ "patch_dir": "src/electron/patches/squirrel.mac", "repo": "src/third_party/squirrel.mac" },
|
|
{ "patch_dir": "src/electron/patches/Mantle", "repo": "src/third_party/squirrel.mac/vendor/Mantle" },
|
|
{ "patch_dir": "src/electron/patches/ReactiveObjC", "repo": "src/third_party/squirrel.mac/vendor/ReactiveObjC" },
|
|
{ "patch_dir": "src/electron/patches/webrtc", "repo": "src/third_party/webrtc" },
|
|
{ "patch_dir": "src/electron/patches/reclient-configs", "repo": "src/third_party/engflow-reclient-configs" },
|
|
{ "patch_dir": "src/electron/patches/sqlite", "repo": "src/third_party/sqlite/src" },
|
|
{ "patch_dir": "src/electron/patches/skia", "repo": "src/third_party/skia" },
|
|
{ "patch_dir": "src/electron/patches/angle", "repo": "src/third_party/angle/src" }
|
|
]
|