[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22116] binutils ar abort
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/22116] binutils ar abort |
Date: |
Fri, 15 Sep 2017 05:58:21 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22116
--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=21d0a60620b306d6471ddedff04ac23912596cc6
commit 21d0a60620b306d6471ddedff04ac23912596cc6
Author: Alan Modra <address@hidden>
Date: Fri Sep 15 10:22:13 2017 +0930
Error when 32-bit ar tries to handle 4G or larger files
We used to silently truncate the size returned by stat() to 32 bits.
While it is possible to make binutils handle a 64-bit off_t on a
32-bit host, to me the effort needed doesn't seem worth the benefit.
Instead, error if we truncate the size. I've written the test the way
I have to avoid a signed/unsigned warning.
PR 22116
* archive.c (bfd_ar_hdr_from_filesystem): Detect when status.st_size
overflows bfd_size_type.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22116] New: binutil ar abort, bil0w at hotmail dot com, 2017/09/08
- [Bug binutils/22116] binutil ar abort, nickc at redhat dot com, 2017/09/14
- [Bug binutils/22116] binutil ar abort, amodra at gmail dot com, 2017/09/14
- [Bug binutils/22116] binutil ar abort, amodra at gmail dot com, 2017/09/14
- [Bug binutils/22116] binutil ar abort, nickc at redhat dot com, 2017/09/14
- [Bug binutils/22116] binutils ar abort, address@hidden, 2017/09/15
- [Bug binutils/22116] binutils ar abort,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/22116] binutils ar abort, amodra at gmail dot com, 2017/09/15