From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9113713533716270805==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] readelf, libdw: Guard against divide by zero line_range in .debug_line. Date: Wed, 26 Nov 2014 20:33:39 +0100 Message-ID: <20141126193339.GB26030@blokker.redhat.com> In-Reply-To: 20141124224505.286D22C3B22@topped-with-meat.com --===============9113713533716270805== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Mon, Nov 24, 2014 at 02:45:05PM -0800, Roland McGrath wrote: > Put an unlikely on all tests for bogons. Done for all my pending bogon-detection patches and pushed them to master. libelf: elf_getphdrnum sanity check the returned phnum result. Use elf_getphdrnum instead of accessing ehdr->e_phnum directly. readelf: print_attributes (-A) robustify and handle non-gnu attributes. libelf: Copy over any leftover data from src to dest in elf_cvt_note. readelf: Check length for nexthdr overflow in print_debug_aranges_section. libelf: Change signed overflow check to unsigned in elf_getdata_rawchunk. libdw: Don't assert in __libdw_getabbrev when seeing bad DWARF. libdw: Always check __libdw_find_attr return value. readelf, libdw: Guard against divide by zero line_range in .debug_line. Thanks, Mark --===============9113713533716270805==--