bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/24168] segment fault in nm-new in binutils-2.30


From: nickc at redhat dot com
Subject: [Bug binutils/24168] segment fault in nm-new in binutils-2.30
Date: Mon, 11 Feb 2019 10:49:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24168

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]