Improper resource allocation In image
Description
Mutable reference with immutable provenance in image A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 0.23.14-1 | ||
debian 13 | 0.23.14-1 | ||
debian 14 | 0.23.14-1 | ||
cargo | 0.23.12 |
Aliases
1. 2. 3. 4. 5. 6.
References
1. 2. 3. 4.