Repository navigation
fix(elf): share section count admission with carrier readers - #12196
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The PR appears safe to merge. SummaryDart, Deno, and Node SEA now share the ELF section-count check before reading section rows.
This extends PR #12193 rather than duplicating it. No superseding change is present in the supplied stack. No actionable correctness or security issues were found. This review checked source and tests; it did not rerun the tests. Reviews (1) · Last reviewed commit: "fix(elf): admit section tables before ca..." · Reviewed by Greptile |
* fix(elf): reject invalid section table and zlib declarations Refs #10149, #10148, #9330. Co-authored-by: Nianze Wu <[email protected]> * fix(elf): share section count admission with carrier readers (#12196) fix(elf): admit section tables before carrier recognition --------- Co-authored-by: Nianze Wu <[email protected]>
Summary
Dart, Deno, and Node SEA still interpreted raw ELF section counts independently. They could consume section rows from a table whose count was encoded in a reserved direct range.
Use the shared section-table admission facts from #12193 before consuming those rows. Node SEA preserves a confirmed program note when section fallback is unnecessary. Deno keeps its existing distinction between a confirmed carrier with damaged metadata and a file whose identity is unresolved.
Validation
npm run check:fastandgit diff --checkpassed.Author readiness
Human owner: @morluto