[all-commits] [llvm/llvm-project] 919caa: [lldb] Don't crash on malformed filesets (#98388)

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jul 10 14:17:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 919caa89ee3323228ccb1dd065d86805b34b9b6a
      https://github.com/llvm/llvm-project/commit/919caa89ee3323228ccb1dd065d86805b34b9b6a
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M lldb/source/Plugins/ObjectContainer/Mach-O-Fileset/ObjectContainerMachOFileset.cpp

  Log Message:
  -----------
  [lldb] Don't crash on malformed filesets (#98388)

The memory read can fail for a malformed fileset. Handle it gracefully
instead of passing a nullptr to the std::string constructor.

rdar://131477833



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list