RUSTSEC-2020-0042: stack: Missing check in ArrayVec leads to out-of-bounds write.

Description

ArrayVec::insert allows insertion of an element into the array object into the specified index. Due to a missing check on the upperbound of this index, it is possible to write out of bounds.

More Info

https://github.com/arcnmx/stack-rs/issues/4

Patched Versions