[all-commits] [llvm/llvm-project] 93a5a0: [lldb] Host::ShellExpandArguments - fix error chec...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 25 09:44:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93a5a03030ab9f49120f7bd2ec8e84f063da9987
      https://github.com/llvm/llvm-project/commit/93a5a03030ab9f49120f7bd2ec8e84f063da9987
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M lldb/source/Host/windows/Host.cpp

  Log Message:
  -----------
  [lldb] Host::ShellExpandArguments - fix error check for valid dictionary

Fix repeated check for a valid JSON parse and actually check the dictionary pointer

Reported here: https://pvs-studio.com/en/blog/posts/cpp/1003/ (N40)




More information about the All-commits mailing list