Date: Tue, 23 Jun 2015 06:42:31 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284721 - head/contrib/elftoolchain/libdwarf Message-ID: <201506230642.t5N6gV5X033902@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506230642.t5N6gV5X033902>