mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
Add patched version for RUSTSEC-2020-0100
This commit is contained in:
@@ -8,7 +8,7 @@ categories = ["memory-corruption"]
|
|||||||
keywords = ["concurrency", "double free"]
|
keywords = ["concurrency", "double free"]
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
patched = []
|
patched = [">= 0.8.0"]
|
||||||
unaffected = []
|
unaffected = []
|
||||||
|
|
||||||
[affected]
|
[affected]
|
||||||
@@ -23,5 +23,7 @@ Affected versions of `sys-info` use a static, global, list to store temporary di
|
|||||||
|
|
||||||
This results in consistent double-frees and segfaults when calling `sys_info::disk_info` from multiple threads at once.
|
This results in consistent double-frees and segfaults when calling `sys_info::disk_info` from multiple threads at once.
|
||||||
|
|
||||||
|
The issue was fixed by moving the global variable into a local scope.
|
||||||
|
|
||||||
## Safer Alternatives:
|
## Safer Alternatives:
|
||||||
- [`sysinfo`](https://crates.io/crates/sysinfo)
|
- [`sysinfo`](https://crates.io/crates/sysinfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user