summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2019-03-07 17:50:16 +0000
committerFlorian Hahn <flo@fhahn.com>2019-03-07 17:50:16 +0000
commit6ca0985aa572f25635f28ce8385dba112d56b6e9 (patch)
tree177ee4d2f62eab9633735f908c92cc8a5f8be93c /clang/lib/CodeGen/CodeGenModule.cpp
parentbd53e768d22c2c0e329bc08b2002ebd1d74ffaa6 (diff)
downloadbcm5719-llvm-6ca0985aa572f25635f28ce8385dba112d56b6e9.tar.gz
bcm5719-llvm-6ca0985aa572f25635f28ce8385dba112d56b6e9.zip
[InterleavedAccessAnalysis] Fix integer overflow in insertMember.
Without checking for integer overflow, invalid members can be added e.g. if the calculated key overflows, becomes positive and the largest key. This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=7560 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13128 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13229 Reviewers: Ayal, anna, hsaito, efriedma Reviewed By: efriedma Differential Revision: https://reviews.llvm.org/D55538 llvm-svn: 355613
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud