Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate AlignedVec::resize safety requirements
This is a necessary check for soundness, as demonstrated by the test which can SIGSEGV without the check. Before the check, an overflow in the underlying buffer calculation can create incoherent state where the vector believes in an impossibly large buffer of the item type which is not actually backed by a correctly sized buffer of chunks.
- Loading branch information