Skip to content

Commit

Permalink
Merge #2962
Browse files Browse the repository at this point in the history
2962: chore(deps): bump crossbeam-deque from 0.8.0 to 0.8.1 r=driftluo,zhangsoledad a=yangby-cryptape

### What problem does this PR solve?

Fix [RUSTSEC-2021-0093](https://rustsec.org/advisories/RUSTSEC-2021-0093).

Problem Summary:

> In the affected version of this crate, the result of the race condition is that one or more tasks in the worker queue can be popped twice instead of other tasks that are forgotten and never popped. If tasks are allocated on the heap, this can cause double free and a memory leak. If not, this still can cause a logical bug.
>
> Crates using `Stealer::steal`, `Stealer::steal_batch`, or `Stealer::steal_batch_and_pop` are affected by this issue.

### Release note

```release-note
None: Exclude this PR from the release note.
```



Co-authored-by: Boyu Yang <yangby@cryptape.com>
  • Loading branch information
bors[bot] and yangby-cryptape committed Aug 23, 2021
2 parents cef2a32 + c31ea12 commit adce2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit adce2ba

Please sign in to comment.