Enhance the sanity check for block sizes; check that the resulting pointer is
authorNick Lewycky <nicholas@mxc.ca>
Sat, 25 Jun 2011 17:08:50 +0000 (17:08 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 25 Jun 2011 17:08:50 +0000 (17:08 +0000)
commit3e64427cb3381b6fdb498bcdbf2abef0bf22e0f0
treee080b3efb1b90dc7cf80db16c311f5973042ed33
parent644eb9befc4334f408cb6bed90ec5ed1a30f32a6
Enhance the sanity check for block sizes; check that the resulting pointer is
pointing to the range [first character, last character] instead of just not
after the last character. Patch by Yan Ivnitskiy!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133867 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h