summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/Inputs
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-04-30 01:13:31 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-04-30 01:13:31 +0000
commit9a19e56306a4fd2a08e89d51fad3fb6abb8a3c64 (patch)
tree374fe16c74fff3f85b43bc5eca8d021836d6a52c /llvm/test/Bitcode/Inputs
parent4b828d35fdf85c384170f930dcbf3013d22f1eb2 (diff)
downloadbcm5719-llvm-9a19e56306a4fd2a08e89d51fad3fb6abb8a3c64.tar.gz
bcm5719-llvm-9a19e56306a4fd2a08e89d51fad3fb6abb8a3c64.zip
Make sure Op->getType() is a PointerType before we cast<> it.
Bug found with AFL fuzz. llvm-svn: 236193
Diffstat (limited to 'llvm/test/Bitcode/Inputs')
-rw-r--r--llvm/test/Bitcode/Inputs/invalid-load-pointer-type.bcbin0 -> 452 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/Inputs/invalid-load-pointer-type.bc b/llvm/test/Bitcode/Inputs/invalid-load-pointer-type.bc
new file mode 100644
index 00000000000..b6a56c55b3b
--- /dev/null
+++ b/llvm/test/Bitcode/Inputs/invalid-load-pointer-type.bc
Binary files differ
OpenPOWER on IntegriCloud