]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix potential infinite loop in bfd_cache_close_all.
authorNick Clifton <nickc@redhat.com>
Fri, 4 Aug 2023 13:19:28 +0000 (14:19 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 4 Aug 2023 13:19:28 +0000 (14:19 +0100)
commit0133072f87b7ac0791413870876a0769ca7d44e0
tree8716a44e4d9a42e75365227277d69301756cc6c9
parentbabce214ecb2a093606186a3f82d579cb026a925
Fix potential infinite loop in bfd_cache_close_all.

  PR 15545 * cache.c (bfd_cache_close_all): Extend description to note that all files will be closed, even those that are not cacheable. Add code to prevent a possible infinite loop.
bfd/ChangeLog
bfd/cache.c