Prevent looping in archives
authorAlan Modra <amodra@gmail.com>
Wed, 18 Nov 2015 11:42:23 +0000 (22:12 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Nov 2015 11:46:24 +0000 (22:16 +1030)
commit4978e369fb75a8b7756bf4201668b2a9d9556286
treefdeb0c2ed956f9b17c24e69efdf855efcc86be2a
parent47daa70fe08c57aaafa6fe1a7e762072909d0f8f
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.
bfd/ChangeLog
bfd/archive.c
bfd/coff-alpha.c