Skip to content

Commit

Permalink
Upgrade hashbrown to 0.12.3
Browse files Browse the repository at this point in the history
This fixes a double-free in the `clone_from` function if dropping an
existing element in the table panics. See
rust-lang/hashbrown#348 for more details.

The indexmap crate is also updated to use the latest hashbrown version.
  • Loading branch information
Amanieu committed Jul 17, 2022
1 parent 1cd72b7 commit 00fd613
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock
Expand Up @@ -1658,9 +1658,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",
Expand Down Expand Up @@ -1822,12 +1822,12 @@ dependencies = [

[[package]]
name = "indexmap"
version = "1.8.2"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [
"autocfg",
"hashbrown 0.11.2",
"hashbrown 0.12.3",
"rustc-rayon",
"serde",
]
Expand Down Expand Up @@ -2514,7 +2514,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53"
dependencies = [
"crc32fast",
"hashbrown 0.12.0",
"hashbrown 0.12.3",
"indexmap",
"memchr",
]
Expand Down Expand Up @@ -4978,7 +4978,7 @@ dependencies = [
"core",
"dlmalloc",
"fortanix-sgx-abi",
"hashbrown 0.12.0",
"hashbrown 0.12.3",
"hermit-abi 0.2.0",
"libc",
"miniz_oxide",
Expand Down

0 comments on commit 00fd613

Please sign in to comment.