Description
An issue was discovered in the glsl-layout crate before 0.4.0 for Rust. When a panic occurs, map_array can perform a double drop.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | glsl-layout | < 0.4.0 | 0.4.0 | GHSA-cx4j-fxr7-jxg8 |
| crates.io | glsl-layout | >= 0.0.0-0, < 0.4.0 | 0.4.0 | RUSTSEC-2021-0005 |