Skip to content

Commit

Permalink
libbacktrace: avoid infinite recursion (febbb9b)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed Aug 24, 2024
1 parent 12c8592 commit 0d0e56d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/libbacktrace/elf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6860,7 +6860,8 @@ elf_add (struct backtrace_state *state, const char *filename, int descriptor,
}
}

if (!gnu_debugdata_view_valid
if (!debuginfo
&& !gnu_debugdata_view_valid
&& strcmp (name, ".gnu_debugdata") == 0)
{
if (!elf_get_view (state, descriptor, memory, memory_size,
Expand Down

0 comments on commit 0d0e56d

Please sign in to comment.