summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/solaris-ld.c
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-01-23 13:51:57 +0000
committerTim Northover <tnorthover@apple.com>2018-01-23 13:51:57 +0000
commit3a4e1c76c24e6bfee9b3fd04ff2991bed4f7763b (patch)
treec9e1ca82898a4c9ae5fcdceb129ac66c0eca92b3 /clang/test/Driver/solaris-ld.c
parentb90f81ed821a14ce9464c02d4ffa7e0a79a9b2b0 (diff)
downloadbcm5719-llvm-3a4e1c76c24e6bfee9b3fd04ff2991bed4f7763b.tar.gz
bcm5719-llvm-3a4e1c76c24e6bfee9b3fd04ff2991bed4f7763b.zip
llvm-objdump: prevent out of bounds accesses during unwind dumping.
We were a bit too trusting about the offsets encoded in MachO compact unwind sections, so this passes every access through a bounds check just in case. It prevents a few segfaults on malformed object files, if one should ever come along. Mostly to silence fuzzers in the vague hope they might be able to produce something useful without the noise. llvm-svn: 323198
Diffstat (limited to 'clang/test/Driver/solaris-ld.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud