mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-30 00:03:57 +01:00
arenavec: update advisory title to clarify issue
This commit is contained in:
@@ -10,11 +10,11 @@ categories = ["memory-corruption"]
|
||||
patched = []
|
||||
```
|
||||
|
||||
# panic safety: potential double drop or uninitialized drop of T
|
||||
# panic safety: double drop or uninitialized drop of T upon panic
|
||||
|
||||
Affected versions of this crate did not guard against potential panics that may happen from user-provided functions `T::default()` and `T::drop()`.
|
||||
|
||||
Panic within `T::default()` leads to dropping uninitialized `T`, when it is invoked from `common::Slice::<T, H>::new()`.
|
||||
Panic within `T::drop()` leads to double drop of `T`, when it is invoked either from `common::SliceVec::<T, H>::resize_with()` or `common::SliceVec::<T, H>::resize()`
|
||||
|
||||
Either case causes memory corruption in the heap memory.
|
||||
Either case causes memory corruption in the heap memory.
|
||||
|
||||
Reference in New Issue
Block a user