From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10161 invoked by alias); 21 Mar 2014 17:54:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 10149 invoked by uid 89); 21 Mar 2014 17:54:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 21 Mar 2014 17:54:51 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 8C9C71166C6; Fri, 21 Mar 2014 13:54:49 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Kz9G+z8BAYYS; Fri, 21 Mar 2014 13:54:49 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 6517E1166C5; Fri, 21 Mar 2014 13:54:49 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id C3EBFE09E3; Fri, 21 Mar 2014 10:54:49 -0700 (PDT) Date: Fri, 21 Mar 2014 17:54:00 -0000 From: Joel Brobecker To: Keith Seitz Cc: "gdb-patches@sourceware.org ml" Subject: Re: [RFA] Fix gdb/15827 (crash w/corrupt DWARF) Message-ID: <20140321175449.GL4282@adacore.com> References: <532C6D4D.2050705@redhat.com> <20140321171453.GJ4282@adacore.com> <532C7624.4080704@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <532C7624.4080704@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-03/txt/msg00539.txt.bz2 > ChangeLog > 2014-03-20 Keith Seitz > > PR gdb/15827 > * dwarf2read.c (skip_one_die): Check that all relative-offset > sibling DIEs fall within range of the current reader's buffer. > (read_partial_die): Likewise. > > testsuite/ChangeLog > 2014-03-20 Keith Seitz > > PR gdb/15827 > * gdb.dwarf2/corrupt.c: New file. > * gdb.dwarf2/corrupt.exp: New file. FAOD, this version looks good to me. Thanks! -- Joel