2 matches found
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...
Potential stack use-after-free in `Instrumented::into_inner`
The implementation of the Instrumented::intoinner method in affected versions of this crate contains undefined behavior due to incorrect use of std::mem::forget The function creates const pointers to self, calls mem::forgetselfstd::mem::forget, and then moves values out of those pointers using...