This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH]: Fix a seg fault in readelf
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 12 May 2005 08:50:12 -0400
- Subject: Re: [PATCH]: Fix a seg fault in readelf
- References: <m3oebgakbp.fsf@redhat.com>
On Thu, May 12, 2005 at 10:02:18AM +0100, Nick Clifton wrote:
> Hi Guys,
>
> Whilst working on something else I managed to generate an binary
> file which would cause readelf to crash - the file did not contain a
> valid .debug_info section so the pointer size could not be computed,
> but the code to display the contents of the .debug_line section
> relied upon the value having been set.
Wow... that's a seriously bogus construct. I'm amazed that dwarf3
didn't remove it.
Thanks for the fix.
--
Daniel Jacobowitz
CodeSourcery, LLC