[all-commits] [llvm/llvm-project] a72306: [lldb] Fix TestDataFormatterLibcxxString broken by...

Pavel Labath via All-commits all-commits at lists.llvm.org
Tue Jul 12 11:12:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a72306e202eedaed7c1a25caf4565bf5577110ce
      https://github.com/llvm/llvm-project/commit/a72306e202eedaed7c1a25caf4565bf5577110ce
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp

  Log Message:
  -----------
  [lldb] Fix TestDataFormatterLibcxxString broken by D129490

We need to check for the error inside the value object to avoid reading
garbage through invalid (target) pointers.




More information about the All-commits mailing list