[Lldb-commits] [lldb] [lldb] Fix use-after-free in jThreadsInfo stop info cache (PR #223488)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 14 13:01:17 PDT 2026
================
@@ -1685,9 +1684,10 @@ size_t ProcessGDBRemote::UpdateThreadPCsFromStopReplyThreadsValue(
bool ProcessGDBRemote::UpdateThreadIDList() {
std::lock_guard<std::recursive_mutex> guard(m_thread_list_real.GetMutex());
- if (m_jthreadsinfo_sp) {
+ StructuredData::ObjectSP threads_info_sp = *m_jthreadsinfo.Lock();
----------------
JDevlieghere wrote:
Yes, it's just to bump the refcount.
https://github.com/llvm/llvm-project/pull/223488
More information about the lldb-commits
mailing list