[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19632] [2.26 Regression] ar has stopped supporting empty m
From: |
doko at debian dot org |
Subject: |
[Bug binutils/19632] [2.26 Regression] ar has stopped supporting empty members |
Date: |
Tue, 08 Mar 2016 10:36:27 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19632
Matthias Klose <doko at debian dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
Summary|[2.26 Regression] ar ra |[2.26 Regression] ar has
|leaves a malformed archive |stopped supporting empty
| |members
--- Comment #1 from Matthias Klose <doko at debian dot org> ---
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813006#31]
"""
I took a look at this, and I think this is a regression probably due
to commit 4978e369fb75a8b7756bf4201668b2a9d9556286. The actual problem
is not that the archives generated are garbled, but that the parser is
broken when finding 0-sized members:
,---
$ touch empty
$ echo text >filled
$ ar qcf test.a filled empty
$ ar tv test.a
ar: test.a: Malformed archive
`---
"""
commit 4978e369fb75a8b7756bf4201668b2a9d9556286
Author: Alan Modra <address@hidden>
Date: Wed Nov 18 22:12:23 2015 +1030
Prevent looping in archives
PR 19256
* archive.c (bfd_generic_openr_next_archived_file): Don't allow
backward file movement via "negative" sizes.
* coff-alpha.c (alpha_ecoff_openr_next_archived_file): Likewise.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19632] [2.26 Regression] ar has stopped supporting empty members,
doko at debian dot org <=