RUSTSEC-2018-0013: safe-transmute: Vec-to-vec transmutations could lead to heap overflow/corruption

Description

Affected versions of this crate switched the length and capacity arguments in the Vec::from_raw_parts() constructor, which could lead to memory corruption or data leakage.

The flaw was corrected by using the constructor correctly.

More Info

https://github.com/nabijaczleweli/safe-transmute-rs/pull/36

Patched Versions

Unaffected Versions