Skip to content

Fix reported string issue in ildasm#124108

Merged
AaronRobinsonMSFT merged 4 commits intodotnet:mainfrom
AaronRobinsonMSFT:runtime_124073
Feb 7, 2026
Merged

Fix reported string issue in ildasm#124108
AaronRobinsonMSFT merged 4 commits intodotnet:mainfrom
AaronRobinsonMSFT:runtime_124073

Conversation

@AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Feb 6, 2026

Introduced in #78894
Fixes #124073

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @dotnet/jit-contrib
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an ILDASM/metainfo UTF-16 → UTF-8 conversion failure path that could write past the end of the destination buffer, addressing a regression introduced during %S removal work (#78894).

Changes:

  • Corrects the error-path null-termination in ConvertToUtf8 to avoid out-of-bounds writes when WideCharToMultiByte fails.

Copilot AI review requested due to automatic review settings February 6, 2026 22:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings February 6, 2026 22:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings February 6, 2026 23:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 1c69782 into dotnet:main Feb 7, 2026
103 of 106 checks passed
@github-project-automation github-project-automation bot moved this to Done in AppModel Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[metainfo] Buffer overflow in ConvertToUtf8 when WszWideCharToMultiByte fails

2 participants