Lucene search
K

4 matches found

OSV
OSV
added 2022/09/16 9:8 p.m.9 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
Exploits0References4
Github Security Blog
Github Security Blog
added 2022/09/16 9:8 p.m.15 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
Exploits0References4Affected Software1
OSV
OSV
added 2020/08/27 12:0 p.m.8 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...

7AI score
Exploits0References4
RustSec
RustSec
added 2020/08/27 12:0 p.m.13 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
Exploits0Affected Software1
Rows per page
Query Builder