mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Fix endless recursion in dwarf_get_section_max_offsets(), found by clang
3.7.0. Reviewed by: emaste
This commit is contained in:
parent
b05c401ff6
commit
298022457a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284721
|
@ -104,8 +104,8 @@ dwarf_get_section_max_offsets(Dwarf_Debug dbg, Dwarf_Unsigned *debug_info,
|
|||
Dwarf_Unsigned *debug_ranges, Dwarf_Unsigned *debug_pubtypes)
|
||||
{
|
||||
|
||||
return (dwarf_get_section_max_offsets(dbg, debug_info, debug_abbrev,
|
||||
return (dwarf_get_section_max_offsets_b(dbg, debug_info, debug_abbrev,
|
||||
debug_line, debug_loc, debug_aranges, debug_macinfo,
|
||||
debug_pubnames, debug_str, debug_frame, debug_ranges,
|
||||
debug_pubtypes));
|
||||
debug_pubtypes, NULL));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue