array-macro
Activity
- Latest release
- 2y ago
- Total releases
- 19
- Cadence
- ~3 months
- Last 12 months
- 0
Details
- License
- MIT OR Apache-2.0
- First release
- Aug 01, 2017
| Version | Released | |
|---|---|---|
2.1.8
unknown
|
2.1.8
unknown
Dependencies (1)
|
|
2.1.7
unknown
|
2.1.7
unknown
Dependencies (1)
|
|
2.1.6
unknown
|
2.1.6
unknown
Dependencies (1)
|
|
2.1.5
unknown
|
2.1.5
unknown
Dependencies (1)
|
|
2.1.4
unknown
|
2.1.4
unknown
Dependencies (1)
|
|
2.1.3
unknown
|
2.1.3
unknown
Dependencies (1)
|
|
2.1.2
unknown
yanked
|
2.1.2
unknown
yanked
Dependencies (1)
|
|
2.1.1
unknown
yanked
1 CVE
GHSA-7v4j-8wvr-v55r
RUSTSEC-2022-0017
Jun 16, 2022
`array!` macro is unsound when its length is impure constant
Medium
Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length (such as a result of an impure procedural macro), this can result in the initialization of an array with uninitialized types, which in turn can allow an attacker to execute arbitrary code. The flaw was corrected in commit d5b63f72 by making sure that array length is substituted just once. Fixed in
2.1.2
References
Updated Nov 08, 2023 · Source: OSV.dev |
2.1.1
unknown
yanked
Dependencies (1)
|
|
2.1.0
unknown
yanked
1 CVE
GHSA-7v4j-8wvr-v55r
RUSTSEC-2022-0017
Jun 16, 2022
`array!` macro is unsound when its length is impure constant
Medium
Affected versions of this crate did substitute the array length provided by an user at compile-time multiple times. When an impure constant expression is passed as an array length (such as a result of an impure procedural macro), this can result in the initialization of an array with uninitialized types, which in turn can allow an attacker to execute arbitrary code. The flaw was corrected in commit d5b63f72 by making sure that array length is substituted just once. Fixed in
2.1.2
References
Updated Nov 08, 2023 · Source: OSV.dev |
2.1.0
unknown
yanked
Dependencies (1)
|
|
2.0.0
unknown
|
2.0.0
unknown
Dependencies (1)
|
|
1.0.5
unknown
|
1.0.5
unknown
|
|
1.0.4
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
1.0.4
unknown
yanked
|
|
1.0.3
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
1.0.3
unknown
yanked
|
|
1.0.2
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
1.0.2
unknown
yanked
|
|
1.0.1
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
1.0.1
unknown
yanked
|
|
1.0.0
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
1.0.0
unknown
yanked
|
|
0.1.2
unknown
yanked
1 CVE
GHSA-83gg-pwxf-jr89
RUSTSEC-2020-0161
Jun 16, 2022
`array!` macro is unsound in presence of traits that implement methods it calls internally
Medium
Affected versions of this crate called some methods using auto-ref. The affected code looked like this.
In this case, the problem is that
The flaw was corrected by explicitly referencing variables in macro body in order to avoid auto-ref. Fixed in
1.0.5
References
Updated Nov 08, 2023 · Source: OSV.dev |
0.1.2
unknown
yanked
|
|
0.1.1
unknown
yanked
|
0.1.1
unknown
yanked
Dependencies (2)
|
|
0.1.0
unknown
yanked
|
0.1.0
unknown
yanked
Dependencies (2)
|