bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19435] objdump receives SIGABRT when disassembling Mach O


From: nickc at redhat dot com
Subject: [Bug binutils/19435] objdump receives SIGABRT when disassembling Mach O binary on OS X
Date: Fri, 22 Jan 2016 11:52:11 +0000

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

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
I missed a bit...

diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 72454f9..a712ff6 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -5798,14 +5798,16 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
       if (mdata->dsym_bfd != NULL)
         {
           bfd *fat_bfd = mdata->dsym_bfd->my_archive;
+#if 0
           char *dsym_filename = (char *)(fat_bfd
                                          ? fat_bfd->filename
                                          : mdata->dsym_bfd->filename);
+#endif
           bfd_close (mdata->dsym_bfd);
           mdata->dsym_bfd = NULL;
           if (fat_bfd)
             bfd_close (fat_bfd);
-          free (dsym_filename);
+          /*free (dsym_filename);*/
         }
     }

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]