Skip to content

Conversation

jakobbotsch
Copy link
Member

Fix #115515

@Copilot Copilot AI review requested due to automatic review settings May 28, 2025 14:21
Copy link
Contributor

@Copilot 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

This PR fixes a potential heap corruption issue in the SSA storage outlining logic by ensuring the loop only iterates over the actual number of slots.

  • Adjust the loop bound from a fixed SIMPLE_NUM_COUNT to the dynamic count value.

@github-actions github-actions bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label May 28, 2025
Copy link
Contributor

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

@jakobbotsch
Copy link
Member Author

PTAL @dotnet/jit-contrib

@jakobbotsch jakobbotsch requested a review from a team May 28, 2025 18:23
@jakobbotsch jakobbotsch merged commit a8bc637 into dotnet:main May 30, 2025
108 of 110 checks passed
@jakobbotsch
Copy link
Member Author

/backport to release/9.0-staging

Copy link
Contributor

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

@jakobbotsch jakobbotsch deleted the fix-ssa-composite-heap-overflow branch May 30, 2025 09:43
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault (SIGSEGV) libclrjit.so`GenTreeVisitor
2 participants