commit | 99b847478c35b64ffddaf7af53c348217d037cb2 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Sat Mar 18 16:34:08 2023 +1030 |
committer | Alan Modra <amodra@gmail.com> | Sun Mar 19 22:19:19 2023 +1030 |
tree | 7a37877fec4a332562f213f37d5618fe8589f878 | |
parent | 5f51eb9397768a6d93e523e05f5b7e8f78465c71 [diff] |
XCOFF archive sanity check XCOFF archive elements are in a linked list. Add a little more sanity checking. This of course doesn't stop the fuzzers finding a way to make a loop, but this check is cheap. * coff-rs6000.c (_bfd_xcoff_openr_next_archived_file): Sanity check that next element isn't pointing back to the header.