[clangd] Do bounds checks while reading data, otherwise var-length records are too...
authorSam McCall <sam.mccall@gmail.com>
Mon, 24 Sep 2018 14:51:15 +0000 (14:51 +0000)
committerSam McCall <sam.mccall@gmail.com>
Mon, 24 Sep 2018 14:51:15 +0000 (14:51 +0000)
commit8fb7bb24827b3ae1285d4f67c11c90e7d748e889
tree18709853474cd33f09c061638d2e83d5887f03e6
parentc8ec7a9e1ebf9f13043d77a35d360e2303f32f8d
[clangd] Do bounds checks while reading data, otherwise var-length records are too painful. NFC

llvm-svn: 342888
clang-tools-extra/clangd/index/Serialization.cpp