From 15600a3a67c418f53cb80ff21da57d89a5de0486 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Wed, 18 Oct 2023 18:04:10 -0700 Subject: [PATCH] tracing: prepare to release v0.1.40 # 0.1.40 This release fixes a potential stack use-after-free in the `Instrument::into_inner` method. Only uses of this method are affected by this bug. ### Fixed - Use `mem::ManuallyDrop` instead of `mem::forget` in `Instrument::into_inner` (#2765) [#2765]: https://github.com/tokio-rs/tracing/pull/2765 Thanks to @cramertj and @manishearth for finding and fixing this issue! --- tracing/CHANGELOG.md | 15 +++++++++++++++ tracing/Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/tracing/CHANGELOG.md b/tracing/CHANGELOG.md index a6cafcb989..db1668b16a 100644 --- a/tracing/CHANGELOG.md +++ b/tracing/CHANGELOG.md @@ -1,3 +1,18 @@ +# 0.1.40 + +This release fixes a potential stack use-after-free in the +`Instrument::into_inner` method. Only uses of this method are affected by this +bug. + +### Fixed + +- Use `mem::ManuallyDrop` instead of `mem::forget` in `Instrument::into_inner` + ([#2765]) + +[#2765]: https://github.com/tokio-rs/tracing/pull/2765 + +Thanks to @cramertj and @manishearth for finding and fixing this issue! + # 0.1.39 (October 12, 2023) This release adds several additional features to the `tracing` macros. In diff --git a/tracing/Cargo.toml b/tracing/Cargo.toml index 0839710ea8..52ea9c08c4 100644 --- a/tracing/Cargo.toml +++ b/tracing/Cargo.toml @@ -8,7 +8,7 @@ name = "tracing" # - README.md # - Update CHANGELOG.md. # - Create "v0.1.x" git tag -version = "0.1.39" +version = "0.1.40" authors = ["Eliza Weisman ", "Tokio Contributors "] license = "MIT" readme = "README.md"