Lucene search
+L

2 matches found

osv_dhi
osv_dhi
•added 2026/11/17 4:02 a.m.•17 views

DHI-B73T-OSJP-YPUZ-UMGE The variance of `RefSwap` and `OptionRefSwap` were incorrect, possibly allowing use-after-free.

The variance of RefSwap and OptionRefSwap were incorrect, possibly allowing use-after-free. OptionRefSwap::intoinner did not check for null. The fix is to make RefSwap and OptionRefSwap invariant, and to change OptionRefSwap::intoinner to return an option. It is available in version 0.1.3. If you...

6.1AI score
SaveExploits0References4
Github Security Blog
Github Security Blog
•added 2022/09/16 9:08 p.m.•29 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