From c83a9f6c683ffa5bee25c56a69ea898652156695 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 22 Jul 2021 23:26:16 -0600 Subject: [PATCH] changelog. --- changelog.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/changelog.md b/changelog.md index ecdf857..5e003cd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,14 @@ # `bytemuck` changelog +## 1.7.1 + +* **Soundness Fix:** The wrap/peel methods for owned value conversion, added to + `TransparentWrapper` in 1.6, can cause a double-drop if used with types that + impl `Drop`. The fix was simply to add a `ManuallyDrop` layer around the value + before doing the `transmute_copy` that is used to wrap/peel. While this fix + could technically be backported to the 1.6 series, since 1.7 is semver + compatible anyway the 1.6 series has simply been yanked. + ## 1.7 * In response to [Unsafe Code Guidelines Issue