servo/components
Mukilan Thiyagarajan ee2acaeacf
config: fix panic in PrefValue to [f64; 4] conversion (#32571)
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>
2024-06-20 08:47:13 +00:00
..
allocator Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
background_hang_monitor Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
bluetooth Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
canvas Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
compositing Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
config config: fix panic in PrefValue to [f64; 4] conversion (#32571) 2024-06-20 08:47:13 +00:00
config_plugins Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
constellation Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
deny_public_fields Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
devtools Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
dom_struct Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
domobject_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
fonts ohos: Add fallback font for serif (#32555) 2024-06-20 06:51:38 +00:00
geometry Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
hyper_serde Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
jstraceable_derive Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
layout Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
layout_2020 Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
layout_thread Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
layout_thread_2020 Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
media Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
metrics Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
net Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
pixels Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
profile Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
rand Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
range Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
script Proper GPUDevice cleanup (#32520) 2024-06-20 05:56:59 +00:00
servo Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
shared Rename gfx to fonts (#32556) 2024-06-19 20:26:19 +00:00
url Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
webdriver_server Use workspace definitions for all crates and update to the 2021 edition (#32544) 2024-06-18 09:22:08 +00:00
webgpu Proper GPUDevice cleanup (#32520) 2024-06-20 05:56:59 +00:00