Turn an assert into report_fatal_error since it's reachable based on user input
authorFilipe Cabecinhas <me@filcab.net>
Wed, 29 Apr 2015 01:58:31 +0000 (01:58 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Wed, 29 Apr 2015 01:58:31 +0000 (01:58 +0000)
commit7b30f32d3d4d0b43a8f41e0b960a70fe412a6065
treec7dc6cc81f27882f4f96ccb9d0f52e10a4823864
parentaf4016443146134fc73e5fe8af4094f8a2313cf3
Turn an assert into report_fatal_error since it's reachable based on user input

Bug found with AFL fuzz.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236076 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Bitcode/Reader/BitstreamReader.cpp
test/Bitcode/Inputs/invalid-array-op-not-2nd-to-last.bc [new file with mode: 0644]
test/Bitcode/invalid.test