This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Fix a seg fault in readelf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]