From b70fd8719e04209827e0ea115965e10225e98f5c Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Tue, 6 Oct 2015 12:37:54 +0000 Subject: Make sure the CastInst is valid before trying to create it Bug found with afl-fuzz. llvm-svn: 249396 --- llvm/test/Bitcode/Inputs/invalid-cast.bc | Bin 0 -> 1236 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 llvm/test/Bitcode/Inputs/invalid-cast.bc (limited to 'llvm/test/Bitcode/Inputs') diff --git a/llvm/test/Bitcode/Inputs/invalid-cast.bc b/llvm/test/Bitcode/Inputs/invalid-cast.bc new file mode 100644 index 00000000000..a8b82f3e286 Binary files /dev/null and b/llvm/test/Bitcode/Inputs/invalid-cast.bc differ -- cgit v1.2.3