diff options
| author | bors <bors@rust-lang.org> | 2024-09-04 15:07:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-09-04 15:07:06 +0000 |
| commit | eeb90cda1969383f56a2637cbd3037bdf598841c (patch) | |
| tree | 54fd52367088ebbf0c73f13e278d8047fb723aba /RELEASES.md | |
| parent | f54dd915b0a4345ee06fd561416ad1af08b54dbb (diff) | |
| parent | b666f820546ad2fd15b591acc8dfd7e7f461147e (diff) | |
| download | rust-1.81.0.tar.gz rust-1.81.0.zip | |
Auto merge of #129960 - pietroalbini:pa-cve-2024-43402, r=pietroalbini 1.81.0
[stable] Fix CVE-2024-43402 Backport the fix for CVE-2024-43402 in the upcoming 1.81.0. See https://github.com/rust-lang/rust/security/advisories/GHSA-2xg3-7mm6-98jj for more information about it. This also includes https://github.com/rust-lang/rust/pull/129944 as a last-minute fix to the relnotes. cc `@boxyuwu` as you are driving this release r? `@ghost`
Diffstat (limited to 'RELEASES.md')
| -rw-r--r-- | RELEASES.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/RELEASES.md b/RELEASES.md index 29c872eb448..3180c8a6a67 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -50,6 +50,7 @@ Libraries - [Replace sort implementations with stable `driftsort` and unstable `ipnsort`.](https://github.com/rust-lang/rust/pull/124032/) All `slice::sort*` and `slice::select_nth*` methods are expected to see significant performance improvements. See the [research project](https://github.com/Voultapher/sort-research-rs) for more details. - [Document behavior of `create_dir_all` with respect to empty paths.](https://github.com/rust-lang/rust/pull/125112/) - [Fix interleaved output in the default panic hook when multiple threads panic simultaneously.](https://github.com/rust-lang/rust/pull/127397/) +- Fix `Command`'s batch files argument escaping not working when file name has trailing whitespace or periods (CVE-2024-43402). <a id="1.81.0-Stabilized-APIs"></a> @@ -100,6 +101,9 @@ Compatibility Notes The reason is that these types have different roles: `std::panic::PanicHookInfo` is the argument to the [panic hook](https://doc.rust-lang.org/stable/std/panic/fn.set_hook.html) in std context (where panics can have an arbitrary payload), while `core::panic::PanicInfo` is the argument to the [`#[panic_handler]`](https://doc.rust-lang.org/nomicon/panic-handler.html) in no_std context (where panics always carry a formatted *message*). Separating these types allows us to add more useful methods to these types, such as `std::panic::PanicHookInfo::payload_as_str()` and `core::panic::PanicInfo::message()`. * The new sort implementations may panic if a type's implementation of [`Ord`](https://doc.rust-lang.org/std/cmp/trait.Ord.html) (or the given comparison function) does not implement a [total order](https://en.wikipedia.org/wiki/Total_order) as the trait requires. `Ord`'s supertraits (`PartialOrd`, `Eq`, and `PartialEq`) must also be consistent. The previous implementations would not "notice" any problem, but the new implementations have a good chance of detecting inconsistencies, throwing a panic rather than returning knowingly unsorted data. +* [In very rare cases, a change in the internal evaluation order of the trait + solver may result in new fatal overflow errors.](https://github.com/rust-lang/rust/pull/126128) + <a id="1.81.0-Internal-Changes"></a> |
