mirror of
https://github.com/servo/servo.git
synced 2025-10-12 14:30:25 +01:00
The `Iterator::all` method consumes the input iterator `f` so when we reuse `f` in `f.flatten().collect()` it yields an empty Vector in the case where all the elements are successfully converted using try_into(). This causes out of bounds access when indexing into the resulting Vector to extract the individual components. Fixes #32570. Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> |
||
---|---|---|
.. | ||
tests | ||
basedir.rs | ||
Cargo.toml | ||
lib.rs | ||
opts.rs | ||
pref_util.rs | ||
prefs.rs |