diff options
author | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | 2021-02-01 14:08:51 -0600 |
---|---|---|
committer | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | 2021-03-08 09:43:05 -0600 |
commit | e2738b3758a9d5a6dfdc5a6768046b44a1b9f135 (patch) | |
tree | e5d56a9fd384f7a92e1320a415f05517004de94f /llvm/lib/Object/WasmObjectFile.cpp | |
parent | b0f0115308e4e8692b254c3b0e20f3743616b2d5 (diff) | |
download | llvm-e2738b3758a9d5a6dfdc5a6768046b44a1b9f135.zip llvm-e2738b3758a9d5a6dfdc5a6768046b44a1b9f135.tar.gz llvm-e2738b3758a9d5a6dfdc5a6768046b44a1b9f135.tar.bz2 |
[OpenMP] Fix potential integer overflow in dynamic schedule code
Restrict the chunk_size * chunk_num to only occur for valid
chunk_nums and reimplement calculating the limit to avoid overflow.
Differential Revision: https://reviews.llvm.org/D96747
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions