[Lldb-commits] [lldb] [lldb-dap] Fix segfault in JSONUtils.cpp when GetUUIDString() returns nullptr (PR #169844)

Alastair Murray via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 1 03:08:46 PST 2025


================
@@ -10,6 +10,7 @@
 #include "EventHelper.h"
 #include "JSONUtils.h"
 #include "RequestHandler.h"
+#include "llvm/ADT/StringRef.h"
----------------
alycm wrote:

I suspect this line is not required as `GetString` was already used and returns a `StringRef`?

https://github.com/llvm/llvm-project/pull/169844


More information about the lldb-commits mailing list