svn commit: r284721 - head/contrib/elftoolchain/libdwarf
Dimitry Andric
dim at FreeBSD.org
Tue Jun 23 06:42:31 UTC 2015
Author: dim
Date: Tue Jun 23 06:42:30 2015
New Revision: 284721
URL: https://svnweb.freebsd.org/changeset/base/284721
Log:
Fix endless recursion in dwarf_get_section_max_offsets(), found by clang
3.7.0.
Reviewed by: emaste
Modified:
head/contrib/elftoolchain/libdwarf/dwarf_sections.c
Modified: head/contrib/elftoolchain/libdwarf/dwarf_sections.c
==============================================================================
--- head/contrib/elftoolchain/libdwarf/dwarf_sections.c Tue Jun 23 06:30:36 2015 (r284720)
+++ head/contrib/elftoolchain/libdwarf/dwarf_sections.c Tue Jun 23 06:42:30 2015 (r284721)
@@ -104,8 +104,8 @@ dwarf_get_section_max_offsets(Dwarf_Debu
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));
}
More information about the svn-src-all
mailing list