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 <amo...@gmail.com> 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 mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils