Skip to content

Commit

Permalink
Auto merge of #1445 - JOE1994:patch-1, r=RalfJung
Browse files Browse the repository at this point in the history
Add a case to list of 'StackedBorrows violations'

A small fix was made to libstd in rust-lang/rust#70479 (back in March).
(Miri reported UB due to Stacked Borrows violation - [link to Miri error log](#1225 (comment)))

Thank you for reviewing 👍
  • Loading branch information
bors committed Jun 8, 2020
2 parents 592d621 + ea4a558 commit 09b5755
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ Violations of [Stacked Borrows] found that are likely bugs (but Stacked Borrows
* [`ryu` using raw pointers outside their valid memory area](https://github.com/dtolnay/ryu/issues/24)
* [ink! creating overlapping mutable references](https://github.com/rust-lang/miri/issues/1364)
* [TiKV creating overlapping mutable reference and raw pointer](https://github.com/tikv/tikv/pull/7709)
* [Windows `Env` iterator creating `*const T` from `&T` to read memory outside of `T`](https://github.com/rust-lang/rust/pull/70479)

## License

Expand Down

0 comments on commit 09b5755

Please sign in to comment.