DescriptionGuilherme de Almeida Suckevicz
2021-04-13 17:34:44 UTC
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
Reference:
https://github.com/rust-lang/rust/issues/82291
Upstream patch:
https://github.com/rust-lang/rust/pull/82292
Comment 1Guilherme de Almeida Suckevicz
2021-04-13 17:35:06 UTC
Created rust tracking bugs for this issue:
Affects: epel-7 [bug 1949209]
Affects: fedora-all [bug 1949208]