Update Rust crate cxx to v1.0.195 [SECURITY]#8653
Conversation
Merging this PR will not alter performance
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | chunked_varbinview_into_canonical[(1000, 10)] |
169.9 µs | 206 µs | -17.53% |
| ❌ | Simulation | bitwise_not_vortex_buffer_mut[128] |
244.4 ns | 273.6 ns | -10.66% |
| ⚡ | Simulation | chunked_varbinview_canonical_into[(1000, 10)] |
190.6 µs | 154.7 µs | +23.14% |
| ⚡ | Simulation | encode_varbin[(1000, 32)] |
164.7 µs | 144.3 µs | +14.17% |
| ⚡ | Simulation | encode_varbin[(1000, 8)] |
158 µs | 139.1 µs | +13.57% |
| ⚡ | Simulation | encode_varbin[(1000, 4)] |
153.1 µs | 138.6 µs | +10.44% |
| ⚡ | Simulation | encode_varbin[(1000, 2)] |
152.3 µs | 138.4 µs | +10.11% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing renovate/crate-cxx-vulnerability (943db82) with develop (f8b18d9)
Footnotes
-
4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
This PR contains the following updates:
1.0.194→1.0.195Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
let_cxx_string!uses uninitialized value due to exception safety violationsRUSTSEC-2026-0202
More information
Details
In affected versions of this crate,
let_cxx_string!is not exception safe. After creating theStackString, ifmatch $valuepanics, the content ofStackStringis not yet initialized, while the drop implementation ofStackStringunconditionally deinitializes the content, leading to use of uninitialized value.The soundness issue was fixed in version
1.0.195by moving drop logics to separate drop guard after initializing theStackString.Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Release Notes
dtolnay/cxx (cxx)
v1.0.195Compare Source
let_cxx_string!on panic inside initialization expression (#1729, #1731)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.