From owner-svn-src-all@FreeBSD.ORG Tue Jun 23 06:42:31 2015 Return-Path: Delivered-To: svn-src-all@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97EC5B30; Tue, 23 Jun 2015 06:42:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8408E7F6; Tue, 23 Jun 2015 06:42:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5N6gVbI033903; Tue, 23 Jun 2015 06:42:31 GMT (envelope-from dim@FreeBSD.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5N6gV5X033902; Tue, 23 Jun 2015 06:42:31 GMT (envelope-from dim@FreeBSD.org) Message-Id: <201506230642.t5N6gV5X033902@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: dim set sender to dim@FreeBSD.org using -f From: Dimitry Andric Date: Tue, 23 Jun 2015 06:42:31 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284721 - head/contrib/elftoolchain/libdwarf X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 06:42:31 -0000 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)); }