[llvm-commits] BitstreamReader patch
Nick Lewycky
nicholas at mxc.ca
Sat Jun 25 10:16:48 PDT 2011
Yan Ivnitskiy wrote:
> Hello,
>
> Attached is a patch for the SkipBlock method for the BitstreamCursor class that sanity checks the length of words to skip. If the NumWords value is large enough, it is possible to overflow the amount of bytes to skip, and reset the bitstream cursor to any (4-byte aligned) address that is lower than the start of the mapped bitcode file.
Thanks! Patch applied in r133867.
Nick
More information about the llvm-commits
mailing list