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

show proper UB when making a too large allocation request #3682

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

RalfJung
Copy link
Member

Fixes #3679

@RalfJung
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented Jun 17, 2024

📌 Commit 90970e3 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jun 17, 2024

⌛ Testing commit 90970e3 with merge 28aa08e...

@bors
Copy link
Contributor

bors commented Jun 17, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 28aa08e to master...

@bors bors merged commit 28aa08e into rust-lang:master Jun 17, 2024
8 checks passed
@RalfJung RalfJung deleted the alloc-too-large branch June 17, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trying to allocate isize::MAX + 1 bytes ICEs Miri
2 participants