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

epoch: Correct handling of null ptr returned from alloc::alloc #690

Merged
merged 1 commit into from Apr 28, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Apr 28, 2021

Fixes #689

Copy link
Contributor

@jeehoonkang jeehoonkang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 28, 2021

Build succeeded:

@bors bors bot merged commit 93dce5a into master Apr 28, 2021
@bors bors bot deleted the handle_alloc_error branch April 28, 2021 13:55
bors bot added a commit that referenced this pull request Apr 29, 2021
691: Prepare for the next release r=taiki-e a=taiki-e

- crossbeam-utils 0.8.3 -> 0.8.4
  - Bump `loom` dependency to version 0.5. (#686)
- crossbeam-epoch 0.9.3 -> 0.9.4
  - Fix UB in `<[MaybeUninit<T>] as Pointable>::init` when global allocator failed allocation (#690)
  - Bump `loom` dependency to version 0.5. (#686)


Co-authored-by: Taiki Endo <te316e89@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

crossbeam-epoch's atomic.rs doesn't handle alloc::alloc returning null pointers
2 participants