[Bug binutils/13622] readelf crashes when reading binary with shredded section header offset

2012-01-30 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #7 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-01-30 11:35:44 UTC ---
CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_22-branch
Changes by:ni...@sourceware.org2012-01-30 11:35:39

Modified files:
binutils   : ChangeLog readelf.c 

Log message:
PR binutils/13622
* readelf.c (process_section_groups): If there are no section
headers do not scan for section groups.
(process_note_sections): Likewise for note sections.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=srconly_with_tag=binutils-2_22-branchr1=1.1831.2.1r2=1.1831.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=srconly_with_tag=binutils-2_22-branchr1=1.554r2=1.554.2.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-26 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED

--- Comment #6 from Nick Clifton nickc at redhat dot com 2012-01-26 10:00:09 
UTC ---
Patch applied.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-26 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #5 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot 
gnu.org 2012-01-26 09:59:34 UTC ---
CVSROOT:/cvs/src
Module name:src
Changes by:ni...@sourceware.org2012-01-26 09:59:31

Modified files:
binutils   : ChangeLog readelf.c 

Log message:
PR binutils/13622
* readelf.c (process_section_groups): If there are no section
headers do not scan for section groups.
(process_note_sections): Likewise for note sections.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=srcr1=1.1873r2=1.1874
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=srcr1=1.565r2=1.566

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #2 from Nick Clifton nickc at redhat dot com 2012-01-25 14:27:10 
UTC ---
Created attachment 6174
  -- http://sourceware.org/bugzilla/attachment.cgi?id=6174
Better handling of corrupt ELF header

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread nickc at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

Nick Clifton nickc at redhat dot com changed:

   What|Removed |Added

 Status|NEW |WAITING
 CC||nickc at redhat dot com

--- Comment #3 from Nick Clifton nickc at redhat dot com 2012-01-25 14:28:02 
UTC ---
Hi Jan,

  Please could you try out the uploaded patch and let me know if it works for
you.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-25 Thread j...@das-labor.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #4 from Jan Lieven j...@das-labor.org 2012-01-25 20:02:22 UTC ---
Thanks, the patch fixes the issue.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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/13622] readelf crashes when reading binary with shredded section header offset

2012-01-24 Thread j...@das-labor.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13622

--- Comment #1 from Jan Lieven j...@das-labor.org 2012-01-25 02:00:10 UTC ---
I forgot to mention the output of readelf --version. It's 2.22.51.20120123
build from a cvs checkout done on the day of compilation.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- 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