This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix gdb/15827 (crash w/corrupt DWARF)
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Fri, 21 Mar 2014 10:54:49 -0700
- Subject: Re: [RFA] Fix gdb/15827 (crash w/corrupt DWARF)
- Authentication-results: sourceware.org; auth=none
- References: <532C6D4D dot 2050705 at redhat dot com> <20140321171453 dot GJ4282 at adacore dot com> <532C7624 dot 4080704 at redhat dot com>
> ChangeLog
> 2014-03-20 Keith Seitz <keiths@redhat.com>
>
> 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 <keiths@redhat.com>
>
> PR gdb/15827
> * gdb.dwarf2/corrupt.c: New file.
> * gdb.dwarf2/corrupt.exp: New file.
FAOD, this version looks good to me.
Thanks!
--
Joel