[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NUL
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer |
Date: |
1 Sep 2006 11:44:14 -0000 |
------- Additional Comments From nickc at redhat dot com 2006-09-01 11:44
-------
Subject: Re: BUG: readelf fails on ALPHA 2.16 and 2.17
due to NULL pointer
Hi Tom,
I believe that H.J.'s point is that the problem can only arise if the
ALPHA-targeted binary file contains a reloc that is not known to
binutils. Therefore it is in our interests to discover what this reloc
is and find out whether we should be supporting it, or at least
recognizing it in readelf.
So, please could you supply a binary file that triggers this bug ?
Then we can investigate it further.
In the meantime I have applied a variant of your patch, since it is
always good programming practice to check for NULL pointers before
performing an indirection. This version of the patch (uploaded to the
testcase) includes a second check for a NULL rtype further on in the
dump_relocations function.
Cheers
Nick
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3146
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, tomri at gmx dot net, 2006/09/01
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer,
nickc at redhat dot com <=
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, nickc at redhat dot com, 2006/09/01
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, nickc at redhat dot com, 2006/09/01
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, tomri at gmx dot net, 2006/09/05
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, tomri at gmx dot net, 2006/09/05
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, tomri at gmx dot net, 2006/09/05
- [Bug binutils/3146] BUG: readelf fails on ALPHA 2.16 and 2.17 due to NULL pointer, amodra at bigpond dot net dot au, 2006/09/14