[all-commits] [llvm/llvm-project] 2dc6e9: [lldb/Host] Fix crash in FileSystem::IsLocal

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Fri Feb 25 18:41:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dc6e906b09deb092c15a726c06d0ecbeec1eb18
      https://github.com/llvm/llvm-project/commit/2dc6e906b09deb092c15a726c06d0ecbeec1eb18
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2022-02-25 (Fri, 25 Feb 2022)

  Changed paths:
    M lldb/source/Host/common/FileSystem.cpp

  Log Message:
  -----------
  [lldb/Host] Fix crash in FileSystem::IsLocal

This checks `m_fs` before dereferencing it to access its`isLocal` method.

rdar://67410058

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




More information about the All-commits mailing list