--- Additional Comments From dan dot j dot rosenberg at gmail dot com
2010-08-06 05:01 ---
Created an attachment (id=4916)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4916&action=view)
Fix for readelf crashes
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11889
--
readelf crashes very easily when parsing malformed binaries. The attached patch
fixes three floating point exceptions (divide-by-zero) and approximately 13
out-of-bounds reads (due to null pointer dereference, integer overflows, and bad
array indexing). I have test files that trigger each of these
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-08-06
01:51 ---
Subject: Bug 11887
CVSROOT:/cvs/src
Module name:src
Changes by: amo...@sourceware.org 2010-08-06 01:51:17
Modified files:
ld : ChangeLog ldlang.c
Log message:
--
What|Removed |Added
AssignedTo|unassigned at sources dot |amodra at gmail dot com
|redhat dot com |
Status|NEW
--- Additional Comments From devurandom at gmx dot net 2010-08-05 18:39
---
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-
r0, 2.6.35-gentoo x86_64)
=
System Setting
Linker script (test.ld):
---
VERSION {
T1 {};
T2 {} T_1;
}
---
Commandline:
---
gcc -shared -o test-ld test.ld
---
Output:
---
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
unable to find version