diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-11-28 20:15:11 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2018-11-28 20:15:11 +0000 |
commit | f4c0720ad0bcdb895218cfdc35e72eeea15e294d (patch) | |
tree | e58f6dc089e7c5ffcb3d335511d275664a14ee5d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | a17318b89b97d577e08c87e6b6c3b67806869f85 (diff) | |
download | llvm-f4c0720ad0bcdb895218cfdc35e72eeea15e294d.zip llvm-f4c0720ad0bcdb895218cfdc35e72eeea15e294d.tar.gz llvm-f4c0720ad0bcdb895218cfdc35e72eeea15e294d.tar.bz2 |
[OpenMP] Fixed possible array out of bound access
There is low probability that array th_hot_teams can be
accessed out of bound (when many nested levels are requested
to keep hot teams via KMP_HOT_TEAMS_MAX_LEVEL). The patch
adds the check of index that fixes the problem.
Patch by Andrey Churbanov
Differential Revision: https://reviews.llvm.org/D54950
llvm-svn: 347800
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions