Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Merge changes from TFS - #1371

Merged
jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Jun 6, 2016
Merged

jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

…e an array that needs 8-byte alignment, the element count is non-negative, but so large that the array size computation overflows.

The rules are that if the element count is negative, you get an overflow exception. If the count is too large for the array to be allocated, you get an out of memory exception. This is indeed what happens with normal arrays, but with 8-byte aligned arrays we mistakenly throw an overflow exception if the element count is positive, but too large.

[tfs-changeset: 1610733]
@jkotas
jkotas merged commit 59350fd into dotnet:nmirror Jun 6, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch June 6, 2016 14:23
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.

4 participants