llvm-project
b9b624f3 - [lldb] Reject a zero child offset in the Mach-O export trie (#203055)

Commit
128 days ago
[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.
Author
Parents
Loading