aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitstream/Reader/BitstreamReader.cpp
diff options
context:
space:
mode:
authorJan Korous <jkorous@apple.com>2022-02-14 18:21:00 -0800
committerJan Korous <jkorous@apple.com>2022-02-15 17:12:35 -0800
commit6280c29a870173601a7befb3b45f92025727c41d (patch)
tree84208a805ae23ca58716482e26f393eeeec4fcf9 /llvm/lib/Bitstream/Reader/BitstreamReader.cpp
parent132553b8c7afcacdc6928e71d77b904ce653c463 (diff)
downloadllvm-6280c29a870173601a7befb3b45f92025727c41d.zip
llvm-6280c29a870173601a7befb3b45f92025727c41d.tar.gz
llvm-6280c29a870173601a7befb3b45f92025727c41d.tar.bz2
[Bitstream] Add assert to ReadVBR and ReadVBR64
We want to prevent UB potentially caused by left-shifting by type bit-width. Differential Revision: https://reviews.llvm.org/D119307
Diffstat (limited to 'llvm/lib/Bitstream/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions