diff options
author | Jan Korous <jkorous@apple.com> | 2022-02-14 18:21:00 -0800 |
---|---|---|
committer | Jan Korous <jkorous@apple.com> | 2022-02-15 17:12:35 -0800 |
commit | 6280c29a870173601a7befb3b45f92025727c41d (patch) | |
tree | 84208a805ae23ca58716482e26f393eeeec4fcf9 /llvm/lib/Bitstream/Reader/BitstreamReader.cpp | |
parent | 132553b8c7afcacdc6928e71d77b904ce653c463 (diff) | |
download | llvm-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