RUSTSEC-2020-0038: ordnung: Memory safety issues in `compact::Vec`

Description

compact::Vec contains multiple memory safety issues.

  1. It mishandles large capacity and causes out-of-bound access in 32-bit / allocator layout mismatch in 64-bit.
  2. remove() is not panic-safe and causes double-free when an index larger than the length is provided.

More Info

https://github.com/maciejhirsz/ordnung/issues/8

Patched Versions