Make sure we don't try to read more than we can when reading abbrev
operands.
Bug found with AFL fuzz.
Paths
| Differential D9030
Verify sizes when trying to read a BitcodeAbbrevOp ClosedPublic Authored by filcab on Apr 15 2015, 10:10 AM.
Details Summary Make sure we don't try to read more than we can when reading abbrev Bug found with AFL fuzz.
Diff Detail
Event Timelinefilcab updated this object. Comment Actions Changed MaxChunkSize to be a constant. This revision is now accepted and ready to land.Apr 23 2015, 4:54 AM Closed by commit rL235595: Verify sizes when trying to read a BitcodeAbbrevOp (authored by filcab). · Explain WhyApr 23 2015, 6:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 24297 llvm/trunk/include/llvm/Bitcode/BitstreamReader.h
llvm/trunk/lib/Bitcode/Reader/BitstreamReader.cpp
llvm/trunk/test/Bitcode/invalid.test
|