Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 25, 2025

Backport of #112542 to release/9.0-staging

/cc @hoyosjs @mikem8361

Customer Impact

  • Customer reported
  • Found internally

There have been some cases where public customer processes end up with a hashmap that has 0 buckets in it. In this state, we should bail early from lookups. In this case we failed to do so, and we end up performing a division by 0, affecting diagnostic scenarios and leading to crashes.

Regression

  • Yes
  • No

Testing

Manual testing. Visual Studio team ran validation on customer scenarios that confirmed this PR fixed cases seen in the wild.

Risk

Low. Affects only a DAC code path.

@ghost ghost added the area-VM-coreclr label Mar 25, 2025
Copy link
Contributor

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

@mikem8361 mikem8361 self-assigned this Mar 25, 2025
@mikem8361 mikem8361 added the Servicing-consider Issue for next servicing release review label Mar 25, 2025
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.

lgtm. please get a code review. we will take for consideration in 9.0.x

@carlossanlop
Copy link
Contributor

Friendly reminder that code complete is on April 14th for the May Release. If you'd like to get this change included in that release, please get a Tactics approval and merge this PR before that date.

@mikem8361 mikem8361 force-pushed the backport/pr-112542-to-release/9.0-staging branch from 60ed446 to 08daf0e Compare April 3, 2025 16:56
@mikem8361 mikem8361 merged commit fe14180 into release/9.0-staging Apr 3, 2025
12 checks passed
@mikem8361 mikem8361 deleted the backport/pr-112542-to-release/9.0-staging branch April 3, 2025 16:57
@github-actions github-actions bot locked and limited conversation to collaborators May 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants