Skip to content

[release/10.0] Fix array size overflow in objectalloc.cpp - #132485

Merged
steveisok merged 1 commit into
release/10.0from
backport/pr-123362-to-release/10.0
Aug 20, 2026
Merged

[release/10.0] Fix array size overflow in objectalloc.cpp#132485
steveisok merged 1 commit into
release/10.0from
backport/pr-123362-to-release/10.0

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Backport of #123362 to release/10.0

/cc @AndyAyersMS @EgorBo

Customer Impact

  • Customer reported
  • Found internally

Reported in #132480 and #123361

Regression

  • Yes
  • No

New functionality in .NET 10 (#112250). Class layout computations for very large known-sized arrays could overflow. Done as part of assessing the array for stack allocation.

Testing

Verifed it fixes the repros from both issues.

Risk

Low, avoids trying to compute a layout for a stack allocation that can never happen.

Fixes #123361

The CI probably won't be happy to run the test repro
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
13 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@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 Aug 18, 2026
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@AndyAyersMS
AndyAyersMS requested a review from EgorBo August 18, 2026 19:40
@AndyAyersMS AndyAyersMS added the Servicing-consider Issue for next servicing release review label Aug 18, 2026
@AndyAyersMS AndyAyersMS added this to the 10.0.x milestone Aug 18, 2026
@AndyAyersMS AndyAyersMS linked an issue Aug 18, 2026 that may be closed by this pull request
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Aug 20, 2026
@steveisok
steveisok enabled auto-merge (squash) August 20, 2026 16:18
@steveisok

Copy link
Copy Markdown
Member

/ba-g Unrelated known issue.

@steveisok
steveisok merged commit 03fd243 into release/10.0 Aug 20, 2026
114 of 118 checks passed
@steveisok
steveisok deleted the backport/pr-123362-to-release/10.0 branch August 20, 2026 16:19
@rbhanda rbhanda modified the milestones: 10.0.x, 10.0.13 Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

.NET 10: Access violation in Tiered JIT Compilation

4 participants