Severity: Low
Package: lru
Type: Stacked Borrows Violation
Summary
IterMut iterator implementation temporarily creates an exclusive reference to the key when dereferencing the internal node pointer. This invalidates the shared pointer held by the internal HashMap, violating Stacked Borrows rules.
Fix
Upgrade to >= 0.16.3
References
Auto-generated by SWAL Security Processor
Security Advisory: GHSA-rhfx-m35p-ff5j
Severity: Low
Package: lru
Type: Stacked Borrows Violation
Summary
IterMut iterator implementation temporarily creates an exclusive reference to the key when dereferencing the internal node pointer. This invalidates the shared pointer held by the internal HashMap, violating Stacked Borrows rules.
Fix
Upgrade to >= 0.16.3
References
IterMutStacked Borrows violation jeromefroe/lru-rs#224Auto-generated by SWAL Security Processor