diff options
author | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-03-20 23:10:05 +0700 |
---|---|---|
committer | Igor Kudrin <ikudrin@accesssoftek.com> | 2020-04-06 14:31:00 +0700 |
commit | 5125685e915afe4d12961f5b3394918d04d49783 (patch) | |
tree | 4babee9d01d5d445777e047b3dcf155d0c20bce0 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 0570de73c4822b6b0da4758eefca2a36f01c7445 (diff) | |
download | llvm-5125685e915afe4d12961f5b3394918d04d49783.zip llvm-5125685e915afe4d12961f5b3394918d04d49783.tar.gz llvm-5125685e915afe4d12961f5b3394918d04d49783.tar.bz2 |
[llvm-dwp] Fix a possible out of bound access.
llvm-dwp did not check section identifiers read from input files.
In the case of an unexpected identifier, the calculated index for
Contributions[] pointed outside the array. This fix avoids the issue
by skipping unsupported identifiers.
Differential Revision: https://reviews.llvm.org/D76543
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions