Skip to content

Commit

Permalink
fix(toml): Resolve regression from toml_edit 0.22.18
Browse files Browse the repository at this point in the history
A fuzzer found a stack overflow with very large amounts of input.
Been a while since I touched the parser and introduced recursion without
thinking about it, whoops.
  • Loading branch information
epage committed Jul 31, 2024
1 parent 6c9bccc commit 9373859
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ tar = { version = "0.4.41", default-features = false }
tempfile = "3.10.1"
thiserror = "1.0.63"
time = { version = "0.3.36", features = ["parsing", "formatting", "serde"] }
toml = "0.8.17"
toml_edit = { version = "0.22.18", features = ["serde"] }
toml = "0.8.19"
toml_edit = { version = "0.22.20", features = ["serde"] }
tracing = { version = "0.1.40", default-features = false, features = ["std"] } # be compatible with rustc_log: https://github.com/rust-lang/rust/blob/e51e98dde6a/compiler/rustc_log/Cargo.toml#L9
tracing-chrome = "0.7.2"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
Expand Down

0 comments on commit 9373859

Please sign in to comment.