fix smoltcp attempt to subtract sequence numbers with underflow (#1360)

This commit is contained in:
Sijie.Sun
2025-09-13 15:03:04 +08:00
committed by GitHub
parent 793889c3b7
commit 5c90431876
2 changed files with 4 additions and 5 deletions

7
Cargo.lock generated
View File

@@ -3405,9 +3405,9 @@ dependencies = [
[[package]]
name = "heapless"
version = "0.8.0"
version = "0.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0bfb9eb618601c89945a70e254898da93b13be0388091d42117462b265bb3fad"
checksum = "b1edcd5a338e64688fbdcb7531a846cfd3476a54784dcb918a0844682bc7ada5"
dependencies = [
"hash32",
"stable_deref_trait",
@@ -7897,8 +7897,7 @@ dependencies = [
[[package]]
name = "smoltcp"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dad095989c1533c1c266d9b1e8d70a1329dd3723c3edac6d03bbd67e7bf6f4bb"
source = "git+https://github.com/smoltcp-rs/smoltcp.git?rev=0a926767a68bc88d5512afefa7529c5ecdade4ea#0a926767a68bc88d5512afefa7529c5ecdade4ea"
dependencies = [
"bitflags 1.3.2",
"byteorder",

View File

@@ -164,7 +164,7 @@ mimalloc = { version = "*", optional = true }
# mips
atomic-shim = "0.2.0"
smoltcp = { version = "0.12.0", optional = true, default-features = false, features = [
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp.git", rev = "0a926767a68bc88d5512afefa7529c5ecdade4ea", optional = true, default-features = false, features = [
"std",
"medium-ip",
"proto-ipv4",