aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-04-29 18:09:19 +0000
committerZachary Turner <zturner@google.com>2016-04-29 18:09:19 +0000
commit9213ba530432bd57b647aa90ea65a735a6d40334 (patch)
tree788e833d24215121c35a2eecd3e60c3dbb3e2425 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parent7736a208b8958a7e708c0756bdce40437f8f48f6 (diff)
downloadllvm-9213ba530432bd57b647aa90ea65a735a6d40334.zip
llvm-9213ba530432bd57b647aa90ea65a735a6d40334.tar.gz
llvm-9213ba530432bd57b647aa90ea65a735a6d40334.tar.bz2
Fix crash in PDB when loading corrupt file.
There are probably hundreds of crashers we can find by fuzzing more. For now we do the simplest possible validation of the block size. Later, more complicated validations can verify that other fields of the super block such as directory size, number of blocks, agree with the size of the file etc. llvm-svn: 268084
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions