Lucene search
+L

1 matches found

Github Security Blog
Github Security Blog
added 2022/09/16 9:8 p.m.19 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
Rows per page
Query Builder