Lucene search
+L

5 matches found

Mend
Mend
•added 2024/11/03 10:17 a.m.•6 views

WS-2022-0463

cell-project used incorrect variance when projecting through &Cell. The issue lies in the implementation of the cellproject macro which used field as const instead of field as mut . The problem being that const T is covariant in T while mut T is invariant in T. Keep in mind that &Cell is invarian...

8.7CVSS5.9AI score
SaveExploits0References5
osv_ghsa
osv_ghsa
•added 2022/09/16 9:08 p.m.•19 views

GHSA-P75V-367R-2V23 `cell-project` used incorrect variance when projecting through `&Cell<T>`

Overview The issue lies in the implementation of the cellproject macro which used field as const instead of field as mut . The problem being that const T is covariant in T while mut T is invariant in T. Keep in mind that &Cell is invariant in T, so casting to const T relaxed the variance, and lea...

7AI score
SaveExploits0References4
Github Security Blog
Github Security Blog
•added 2022/09/16 9:08 p.m.•23 views

`cell-project` used incorrect variance when projecting through `&Cell<T>`

Overview The issue lies in the implementation of the cellproject macro which used field as const instead of field as mut . The problem being that const T is covariant in T while mut T is invariant in T. Keep in mind that &Cell is invariant in T, so casting to const T relaxed the variance, and lea...

1.1AI score
SaveExploits0References4Affected Software1
osv_rustsec
osv_rustsec
•added 2020/08/27 12:00 p.m.•27 views

RUSTSEC-2020-0164 `cell-project` used incorrect variance when projecting through `&Cell<T>`

Overview The issue lies in the implementation of the cellproject macro which used field as const instead of field as mut . The problem being that const T is covariant in T while mut T is invariant in T. Keep in mind that &Cell is invariant in T, so casting to const T relaxed the variance, and lea...

5.5AI score
SaveExploits0References5
RustSec
RustSec
•added 2020/08/27 12:00 p.m.•27 views

`cell-project` used incorrect variance when projecting through `&Cell<T>`

Overview The issue lies in the implementation of the cellproject macro which used field as const instead of field as mut . The problem being that const T is covariant in T while mut T is invariant in T. Keep in mind that &Cell is invariant in T, so casting to const T relaxed the variance, and lea...

5.5AI score
SaveExploits0Affected Software1
Rows per page
Query Builder