Don't overflow GCTable
authorFilipe Cabecinhas <me@filcab.net>
Thu, 30 Apr 2015 04:09:41 +0000 (04:09 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Thu, 30 Apr 2015 04:09:41 +0000 (04:09 +0000)
commitf8a16a952dddaf1d38d6f596b78b1041ce5ea2eb
treee5ea984643f7e00e6a756f212c64494e9e1e1565
parentd8a029c81ba59fa53847ab7784ff5fb81ea0d1fe
Don't overflow GCTable

Summary: Bug found with AFL fuzz.

Reviewers: rafael, dexonsmith

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9361

llvm-svn: 236200
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/test/Bitcode/Inputs/invalid-GCTable-overflow.bc [new file with mode: 0644]
llvm/test/Bitcode/invalid.test