[PATCH] D64507: [BitcodeReader] Validate OpNum, before accessing Record array.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 04:06:39 PDT 2019


fhahn added a comment.

I've reverted the patch, because the bitcode file caused an out-of-memory error on a builder.

I think there is another problem with the bitcode file, which causes large allocations. I've seen something similar in other cases generated by cluster fuzz, which set the number of variables or something in the header to a very large number, causing large up-front allocations for an invalid file. I'll take a look.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64507/new/

https://reviews.llvm.org/D64507





More information about the llvm-commits mailing list