Don't allow a nested archive pointing to itself
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Feb 2013 18:26:06 +0000 (18:26 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 15 Feb 2013 18:26:06 +0000 (18:26 +0000)
commit989fbeffb248dde7a9a24ad8ac9f7a76b435a807
treea83af43847c3ef77b3fb564e3f273d6f0b623a64
parentf1dd87fcafe276824123bdc5d4a4e2bd79495662
Don't allow a nested archive pointing to itself

PR binutils/15151
* archive.c (_bfd_find_nested_archive): Don't allow a nested
archive pointing to itself.
(_bfd_get_elt_at_filepos): Revert the last 2 changes.
bfd/ChangeLog
bfd/archive.c