llvm-project
3c391665 - [lldb] Fix user-after-free in CommandInterpreter (#187032)

Commit
47 days ago
[lldb] Fix user-after-free in CommandInterpreter (#187032) The variable `matches` may be assigned the address of block-scope `local_matches`, which is defined in a scope strictly smaller than the scope of `matches`. Towards the end of the function, after `loacl_matches` has been destroyed, `matches` is accessed, possibly triggering a user-after-free.
Parents
Loading