mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-29 07:46:22 +01:00
Added patch to "fix" vulnerability. (#866)
* patch note * added patch version
This commit is contained in:
@@ -7,7 +7,7 @@ url = "https://github.com/tiby312/reorder/issues/1"
|
||||
keywords = ["memory-corruption", "out-of-bounds"]
|
||||
|
||||
[versions]
|
||||
patched = []
|
||||
patched = [">= 1.1.0"]
|
||||
```
|
||||
|
||||
# swap_index can write out of bounds and return uninitialized memory
|
||||
@@ -26,3 +26,11 @@ As noted by the Rust documentation, [`len()`](https://doc.rust-lang.org/std/iter
|
||||
and `size_hint()` are primarily meant for optimization and incorrect values
|
||||
from their implementations should not lead to memory safety violations.
|
||||
|
||||
|
||||
# Patch
|
||||
|
||||
A new version crate was pushed that marks this function as unsafe.
|
||||
|
||||
reorder = "1.1.0"
|
||||
|
||||
Previous versions have also been yanked from crates.io.
|
||||
|
||||
Reference in New Issue
Block a user