[Bug binutils/20439] readelf crashes in dwarf implementation

2016-08-08 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20439

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Nick Clifton  ---
There were a couple of off-by-one errors in the original patch, but I have now
fixed these.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/20439] readelf crashes in dwarf implementation

2016-08-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20439

--- Comment #2 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Nick Clifton :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db9537d2b735300b129e2715012ae249ee015f58

commit db9537d2b735300b129e2715012ae249ee015f58
Author: Nick Clifton 
Date:   Mon Aug 8 09:34:32 2016 +0100

Fix seg-fault in DWARF dumper when given a corrupt binary containing
illegal directory and file table indicies.

PR binutils/20439
* dwarf.c (display_debug_lines_decoded): Check directory and file
indicies before using them to access directory and file tables.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/20439] readelf crashes in dwarf implementation

2016-08-05 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20439

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

--- Comment #1 from Nick Clifton  ---
Created attachment 9424
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9424&action=edit
Proposed patch

Hi Markus,

  Thanks for reporting this bug.

  I am currently trying the uploaded patch locally, and so far it is looking
good.
  If it turns out that there are no regressions I will apply it on Monday.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils