Skip to content
OpenAdvisories

Package · crates.io

circular-buffer

1 known vulnerabilities.

1 result · Feed

  • Unscored —

    Panic-safety unsoundness in `truncate_back`, `truncate_front`, `clear`, and `extend_from_slice` (use-after-free / double-free)

    Several methods in `circular-buffer` drop elements before updating the buffer's start/end metadata. If an element's `Drop` panics during the drop, the metadata update is skipped, so the buffer still treats the already-dropped elements as live. When the buffer…