Repository navigation
fix(windows): reject descending numeric PE resource IDs - #10371
wunianze666-netizen wants to merge 1 commit into
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 reviewed changes appear safe to merge. SummaryThe PR rejects descending numeric IDs during full PE resource traversal.
No actionable code or security issues were found. Tests were inspected but not run. Whether this PR has been superseded could not be checked because GitHub access required authentication. Reviews (1) · Last reviewed commit: "fix(windows): reject descending numeric ..." · Reviewed by Greptile |
|
The full PE resource traversal now rejects descending numeric sibling IDs in #12156, with PE32 and PE32+ coverage. The merged change preserves valid traversal order and the duplicate identity check. Closing this superseded implementation. |
Summary
Reject descending numeric IDs in a PE resource directory instead of reporting a complete inventory.
Problem and expected behavior
A PE32 or PE32+ resource name table containing ID 9 followed by ID 4 passes the current parser and reports complete coverage. The PE format specifies ascending numeric order within the ID entries of each table. PE Resource Directory Entries
Change and scope
Check numeric order in the full PE resource traversal. Preserve the existing duplicate-identity check and keep the original row order for valid files. The separate named-carrier probe and name collation are outside this change.
Follow the contribution scope.
Unresolved scope, authority, side effects, or required verification block
integration. Link the required maintainer scope decision for new providers or
capabilities involving target execution, injection, mutation, or protection
recovery; ordinary fixes within existing boundaries may state "not applicable".
Draft PRs may leave the scope decision pending and the readiness and merge checklists
unchecked. Maintainers can help resolve open questions.
Contract and boundary impact
Expected effects (check known effects; use documentation-only on its own).
Unchecked items do not establish absence; leave uncertainties visible.
Evidence and regression coverage
For boundary fixes, identify the applicable boundary regressions
and lifecycle regressions
covered by the evidence above, and explain relevant gaps.
For evidence-bearing changes:
Validation performed
Compatibility, safety, and release
Author readiness
Human owner: @wunianze666-netizen
Before merge
type(scope): outcome.