https://sourceware.org/bugzilla/show_bug.cgi?id=24168
Nick Clifton changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Nick Clifton ---
(In reply to zhangyn2012 from comment #2)
Hi Zhangyn,
> I debugged and found that in the loop of nm.c:983, when j increased to 44, a
> null pointer dereference is triggered because though it checks
> r->sym_ptr_ptr is not null, *r->sym_ptr_ptr is a null pointer. nm.c:989
> accesses *r->sym_ptr_ptr->section which causes the program to crash.
Thanks - that help me to reproduce the problem.
I have checked in a fix to the 2.30 branch.
As far I was able to tell this problem has already been fixed from 2.31
onwards,
although I did not spend the time to track down the exact commit that fixed the
bug.
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