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

[release/5.0-preview3] Fix write behind allocated memory in thread name setting (#34424) #34437

Merged
merged 1 commit into from
Apr 2, 2020

Conversation

mmitche
Copy link
Member

@mmitche mmitche commented Apr 2, 2020

The code in CorUnix::InternalSetThreadDescription is writing behind
the end of the allocated memory in case the name is shorter than 16
characters. That is causing memory heap corruption.

The code in CorUnix::InternalSetThreadDescription is writing behind
the end of the allocated memory in case the name is shorter than 16
characters. That is causing memory heap corruption.
@mmitche
Copy link
Member Author

mmitche commented Apr 2, 2020

Aggressively merging this one so that we can actually get a build

@mmitche mmitche merged commit 2b487f3 into dotnet:release/5.0-preview3 Apr 2, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants