[Lldb-commits] [PATCH] D72086: [lldb] Fix that SBThread.GetStopDescription is returning strings with uninitialized memory at the end.

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 2 13:09:05 PST 2020


shafik added inline comments.


================
Comment at: lldb/source/API/SBThread.cpp:337
+          }
           else {
             // NULL dst passed in, return the length needed to contain the
----------------
The `else` branch feels inconsistent with the change above. Especially the `+ 1`.


Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72086/new/

https://reviews.llvm.org/D72086





More information about the lldb-commits mailing list