bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/23633] objcopy Segmentation fault


From: nickc at redhat dot com
Subject: [Bug binutils/23633] objcopy Segmentation fault
Date: Thu, 13 Sep 2018 15:17:39 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

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

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi H.J.

  Thanks for reporting this bug.  The problem was the new call to free()
  at the end of add_specific_symbols().  I had reviewed the code, and 
  looked at the call to add_specific_symbol, and thought that the buffer
  would not be used after the function finished.  What I failed to notice
  was that although add_specific_symbol calls htab_find_slot with the
  INSERT parameter, it also records the name string as a value in the
  hash table.

  So I have removed the free() and now everything is working again.

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]