Repository navigation
fix(dotnet): reject invalid UTF-8 metadata version strings - #9027
ShuaixinHuang wants to merge 6 commits into
Conversation
Codex Review SummaryThis 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. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The PR appears safe to merge; no blocking issues were found. SummaryRejects malformed UTF-8 in the metadata root version before decoding it.
No actionable bugs or security issues were found. Tests were not run during this review. Supersession could not be checked because GitHub authentication was unavailable. Reviews (1) · Last reviewed commit: "fix(dotnet): reject invalid UTF-8 metada..." · Reviewed by Greptile |
Summary
Reject an invalid UTF-8 metadata root version with an invalid-metadata-root issue at metadata.version. Preserve valid version text and existing NUL padding handling.
Validation
The malformed byte regression failed before the change. All 15 focused managed metadata tests and formatting checks passed on Windows with existing dependencies and synthetic fixtures. The branch includes the shared test baseline from #9009. Full-tree CI remains pending.
Author readiness
Human owner: @ShuaixinHuang