http://sourceware.org/bugzilla/show_bug.cgi?id=13875

             Bug #: 13875
           Summary: dlltool segfaults using a freed pointer
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassig...@sourceware.org
        ReportedBy: kaltsi+sourcew...@gmail.com
    Classification: Unclassified


Created attachment 6295
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6295
Fix proposal

Building a mingw32 compiler in an OBS chroot I ran into an environment where
i586-mingw32msvc-dlltool would always crash when it was used.

The chroot was based on openSUSE 12.1.

The reason seems to be that dlltool is using a pointer that gets freed in
bfd_close.

Patch attached.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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

Reply via email to