bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27270] ar segfaults trying to build virtualbox guest addit


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/27270] ar segfaults trying to build virtualbox guest additions
Date: Wed, 03 Feb 2021 11:05:01 +0000

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_36-branch branch has been updated by Alan Modra
<amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6184480d7ce1bcd57669a62867efc68418d0de7c

commit 6184480d7ce1bcd57669a62867efc68418d0de7c
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 1 02:04:41 2021 +1030

    pr27270 and pr27284, ar segfaults and wrong file mode

            PR 27270
            PR 27284
            PR 26945
            * ar.c: Don't include libbfd.h.
            (write_archive): Replace xmalloc+strcpy with xstrdup.  Use
            bfd_stat rather than fstat on iostream.  Move stat and fd tests
            outside of _WIN32 ifdef.  Delete skip_stat variable.
            * arsup.c (temp_name, real_ofd): New static variables.
            (ar_open): Use make_tempname and bfd_fdopenw.
            (ar_save): Adjust to suit ar_open changes.  Move stat output
            of _WIN32 ifdef.
            * objcopy.c: Don't include libbfd.h.
            (copy_file): Use bfd_stat.

    (cherry picked from commit 95b91a043aeaeb546d2fea556d84a2de1e917770)

-- 
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]