diff --git a/.duplicate-id-guard b/.duplicate-id-guard index 4d412ea2..949b451b 100644 --- a/.duplicate-id-guard +++ b/.duplicate-id-guard @@ -1,3 +1,3 @@ This file causes merge conflicts if two ID assignment jobs run concurrently. This prevents duplicate ID assignment due to a race between those jobs. -9a01a60d704d21710008e1cbda0135d3ab4b33923d77f677c5d11f1450f9eec4 - +4bbdcd2e09b19b1bf445893cb61fbaf2d3346bf65b37eef11fcff6f599497294 - diff --git a/crates/array-queue/RUSTSEC-0000-0000.md b/crates/array-queue/RUSTSEC-2025-0054.md similarity index 95% rename from crates/array-queue/RUSTSEC-0000-0000.md rename to crates/array-queue/RUSTSEC-2025-0054.md index d47e15e7..89c0a37c 100644 --- a/crates/array-queue/RUSTSEC-0000-0000.md +++ b/crates/array-queue/RUSTSEC-2025-0054.md @@ -1,6 +1,6 @@ ```toml [advisory] -id = "RUSTSEC-0000-0000" +id = "RUSTSEC-2025-0054" package = "array-queue" date = "2025-08-14" @@ -22,4 +22,4 @@ The safe API `array_queue::ArrayQueue::push_front` can lead to deallocating unin Specifically, `push_front` receives an argument that is intended to be cloned and pushed, whose type implements the `Clone` trait. Furthermore, the method updates the queue's `start` index before initializing the slot for the newly pushed element. User-defined implementations of `Clone` may include a `clone` method that can panic. If such a panic occurs during initialization, the structure is left with an advanced `start` index pointing to an uninitialized slot. When `ArrayQueue` is later dropped, its destructor treats that slot as initialized and attempts to drop it, resulting in an attempt to free uninitialized memory. -The bug was fixed in commit `728fe1b`. \ No newline at end of file +The bug was fixed in commit `728fe1b`.