llvm-project
0b8c8ed0 - [lldb] Fix use-after-free in SBMutexTest (#133840)

Commit
1 year ago
[lldb] Fix use-after-free in SBMutexTest (#133840) The `locked` variable can be accessed from the asynchronous thread until the call to f.wait() completes. However, the variable is scoped in a lexical block that ends before that, leading to a use-after-free.
Author
Parents
Loading