[PATCH]: Fix a seg fault in readelf
Daniel Jacobowitz
drow@false.org
Thu May 12 13:44:00 GMT 2005
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
More information about the Binutils
mailing list