[all-commits] [llvm/llvm-project] 42c906: [lldb/API] Fix non null-terminated stop-reason in ...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Wed Feb 5 15:20:48 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 42c906bceffaadeb704f2629d21f33aece831bc6
      https://github.com/llvm/llvm-project/commit/42c906bceffaadeb704f2629d21f33aece831bc6
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2020-02-06 (Thu, 06 Feb 2020)

  Changed paths:
    M lldb/source/API/SBThread.cpp

  Log Message:
  -----------
  [lldb/API] Fix non null-terminated stop-reason in SBThread::GetStopDescription

When trying to get the stop reason description using the SB API, the
buffer fetched was not null-terminated causing failures on the sanitized bot.

This patch should address those failures.

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>




More information about the All-commits mailing list