In-memory nested archives
authorAlan Modra <amodra@gmail.com>
Mon, 20 Feb 2023 00:44:59 +0000 (11:14 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 20 Feb 2023 00:51:36 +0000 (11:21 +1030)
commitc50e4ced39b19ae49748634356c8c37e18427129
tree9567519d0f1274e0712cac97dceb019b19dfa1b1
parent9a7f501ec33c735acfc43346904a8a081666b637
In-memory nested archives

alpha-linuxecoff has compressed archives that are decompressed to a
bfd-in-memory.  We'd need to handle quite a lot of corner cases to
support nesting of such archives, so just stop it before we run into
segfaults later.

* opncls.c (_bfd_new_bfd_contained_in): Prohibit nested
archives in memory.
bfd/opncls.c