[PATCH] D119307: [Bitstream] Fix UB in left-shift in ReadVBR
Jan Korous via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 11 17:33:22 PST 2022
jkorous marked an inline comment as done.
jkorous added a comment.
@nikic Sorry, my statement was incorrect. What I meant is that the method doesn't prevent UB via assert or runtime check of `NumBits` value.
I'm happy to go with assert if that'd be a better fit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119307/new/
https://reviews.llvm.org/D119307
More information about the llvm-commits
mailing list