BlackDuck scan reports this as a Use After Free Vulnerability #14652
-
Static Scan by BlackDuck reports this as a Use After Free Vulnerability // "this->Mso::Futures::FutureCallback::~FutureCallback()" manually destructs "this". |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Interesting find. Here's the specific line: Invoking the destructor won't actually release the object. It's a little strange, but not necessarily wrong. But... worth looking at! @vmoroz give this a look? |
Beta Was this translation helpful? Give feedback.
Interesting find. Here's the specific line:
https://github.com/microsoft/react-native-windows/blame/cc126e4e42ed2dea020655264af0cfb5b1d6ea12/vnext/Mso/src/future/futureImpl.cpp#L1006
Invoking the destructor won't actually release the object. It's a little strange, but not necessarily wrong. But... worth looking at! @vmoroz give this a look?