Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix length check for Convert.TryToHexString{Lower} #109891

Merged
merged 8 commits into from
Nov 27, 2024

Conversation

universorum
Copy link
Contributor

The size of destination should not be less than double source's length.

Fix #109807

The size of destination should not be less than double source's length.

Fix #109807
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Nov 16, 2024
@universorum
Copy link
Contributor Author

@dotnet-policy-service agree

@adamsitnik adamsitnik self-assigned this Nov 26, 2024
Copy link
Member

@adamsitnik adamsitnik left a comment

Choose a reason for hiding this comment

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

LGTM, @universorum big thanks for providing the fix and adding excellent tests!

@adamsitnik adamsitnik merged commit afdd68b into dotnet:main Nov 27, 2024
137 of 139 checks passed
@adamsitnik
Copy link
Member

/backport to release/9.0-staging

Copy link
Contributor

Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/12054838800

mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request Dec 10, 2024
The size of destination should not be less than double source's length.

Fix dotnet#109807
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert.TryToHexString{Lower} does not check the length of destination correct
5 participants