aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-18 16:34:08 +1030
committerAlan Modra <amodra@gmail.com>2023-03-19 22:19:19 +1030
commit99b847478c35b64ffddaf7af53c348217d037cb2 (patch)
tree7a37877fec4a332562f213f37d5618fe8589f878 /gdb/rust-lang.h
parent5f51eb9397768a6d93e523e05f5b7e8f78465c71 (diff)
downloadgdb-99b847478c35b64ffddaf7af53c348217d037cb2.zip
gdb-99b847478c35b64ffddaf7af53c348217d037cb2.tar.gz
gdb-99b847478c35b64ffddaf7af53c348217d037cb2.tar.bz2
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.
Diffstat (limited to 'gdb/rust-lang.h')
0 files changed, 0 insertions, 0 deletions