[all-commits] [llvm/llvm-project] b9b624: [lldb] Reject a zero child offset in the Mach-O ex...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jun 10 10:42:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9b624f3479156be71379beefec5d936d5eb078f
      https://github.com/llvm/llvm-project/commit/b9b624f3479156be71379beefec5d936d5eb078f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M lldb/source/Plugins/ObjectFile/Mach-O/MachOTrie.cpp
    M lldb/unittests/ObjectFile/MachO/MachOTrieTest.cpp

  Log Message:
  -----------
  [lldb] Reject a zero child offset in the Mach-O export trie (#203055)

A child node offset of 0 points back at the root. ParseTrieEntries
silently skipped such a child because of a leftover guard from before
the walk tracked visited nodes, letting a malformed trie parse as valid.

Drop the guard so the visited-node set rejects it as the cycle it is,
matching how LLVM's MachO export-trie reader treats a child pointing at
an already-visited node.



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