rkyv deallocation alignment issue

This commit is contained in:
Ben Kimock 2022-03-03 13:10:05 -05:00
parent 2b23786c48
commit 0bd83245ed

View File

@ -456,6 +456,7 @@ Definite bugs found:
* [Insufficient alignment in `ThinVec`](https://github.com/Gankra/thin-vec/pull/27)
* [`crossbeam-epoch` calling `assume_init` on a partly-initialized `MaybeUninit`](https://github.com/crossbeam-rs/crossbeam/pull/779)
* [`integer-encoding` dereferencing a misaligned pointer](https://github.com/dermesser/integer-encoding-rs/pull/23)
* [`rkyv` constructing a `Box<[u8]>` from an overaligned allocation](https://github.com/rkyv/rkyv/commit/a9417193a34757e12e24263178be8b2eebb72456)
Violations of [Stacked Borrows] found that are likely bugs (but Stacked Borrows is currently just an experiment):