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/8.0] dumpwriterelf: increase buffer to fit a RHEL8 arm64 page. #91953

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 12, 2023

Backport of #91865 to release/8.0

/cc @mikem8361 @tmds

Customer Impact

Dump generation segfaults on architecture with 64K pages (RHEL arm64, macOS M1, etc).

Issue: #91864

Testing

Local testing by @tmds

Risk

Very low. Only affects runtime dump generation.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

This fixes out-of-bounds access when trying to write the
diagnostics info on platforms where the PAGE_SIZE is larger
than the DumpWriter's 16KiB m_tempBuffer.
@ghost
Copy link

ghost commented Sep 12, 2023

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #91865 to release/8.0

/cc @mikem8361 @tmds

Customer Impact

Testing

Risk

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

Author: github-actions[bot]
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: -

@mikem8361
Copy link
Member

@jeffschwMSFT can you approve? Thanks.

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

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

approved. please get a code review. this can be merged once ready.

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Sep 12, 2023
@jeffschwMSFT jeffschwMSFT added this to the 8.0.0 milestone Sep 12, 2023
@carlossanlop carlossanlop merged commit 834593b into release/8.0 Sep 14, 2023
109 checks passed
@carlossanlop carlossanlop deleted the backport/pr-91865-to-release/8.0 branch September 14, 2023 00:09
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants