mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-29 15:56:07 +01:00
Enum repr memory corruption in arrayfire crate
This commit is contained in:
33
crates/arrayfire/RUSTSEC-0000-0000.toml
Normal file
33
crates/arrayfire/RUSTSEC-0000-0000.toml
Normal file
@@ -0,0 +1,33 @@
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
|
||||
package = "arrayfire"
|
||||
|
||||
date = "2018-12-18"
|
||||
|
||||
title = "Enum repr causing potential memory corruption"
|
||||
|
||||
description = """
|
||||
The attribute repr() added to enums to be compatible with C-FFI caused
|
||||
memory corruption on MSVC toolchain.
|
||||
|
||||
arrayfire crates <= version 3.5.0 do not have this issue when used with
|
||||
Rust versions 1.27 or earlier. The issue only started to appear since
|
||||
Rust version 1.28.
|
||||
|
||||
The issue seems to be interlinked with which version of Rust is being used.
|
||||
|
||||
The issue was fixed in crate 3.6.0.
|
||||
"""
|
||||
|
||||
patched_versions = [">= 3.6.0"]
|
||||
|
||||
unaffected_versions = ["<= 3.5.0"]
|
||||
|
||||
url = "https://github.com/arrayfire/arrayfire-rust/pull/177"
|
||||
|
||||
keywords = ["enum", "repr"]
|
||||
|
||||
affected_arch = ["x86_64"]
|
||||
|
||||
affected_os = ["windows"]
|
||||
Reference in New Issue
Block a user