about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmanieu d'Antras <amanieu@gmail.com>2022-07-17 13:23:26 +0200
committerJosh Stone <jistone@redhat.com>2022-07-17 07:05:58 -0700
commit931a8f81fe1e9330ffe6911c2bb006d349e1b2a7 (patch)
tree91a05c056a1ae8060beebc71f2ba07bc4f3dd1fc
parentdaa7c14a442a2d7dc9a7033340446fa886bab2f7 (diff)
downloadrust-931a8f81fe1e9330ffe6911c2bb006d349e1b2a7.tar.gz
rust-931a8f81fe1e9330ffe6911c2bb006d349e1b2a7.zip
Upgrade hashbrown to 0.12.3
This fixes a double-free in the `clone_from` function if dropping an
existing element in the table panics. See
https://github.com/rust-lang/hashbrown/pull/348 for more details.
-rw-r--r--Cargo.lock4
-rw-r--r--compiler/rustc_codegen_cranelift/Cargo.lock4
2 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 3f6620c813b..16ebddab974 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1649,9 +1649,9 @@ dependencies = [
 
 [[package]]
 name = "hashbrown"
-version = "0.12.0"
+version = "0.12.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
 dependencies = [
  "ahash",
  "compiler_builtins",
diff --git a/compiler/rustc_codegen_cranelift/Cargo.lock b/compiler/rustc_codegen_cranelift/Cargo.lock
index 655da407924..2f5d1c0432f 100644
--- a/compiler/rustc_codegen_cranelift/Cargo.lock
+++ b/compiler/rustc_codegen_cranelift/Cargo.lock
@@ -163,9 +163,9 @@ dependencies = [
 
 [[package]]
 name = "hashbrown"
-version = "0.12.0"
+version = "0.12.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
+checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
 
 [[package]]
 name = "indexmap"