summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-06-07 08:34:18 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-06-07 08:34:18 +0000
commit33044a7ae21350954e3523a70f2e4422a4e165ea (patch)
tree853a652ba1d534b803f9cad80bb86df94e499eb1 /llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
parenteb394e93d2d39cf18d0b6c992f948b17d99b1c69 (diff)
downloadbcm5719-llvm-33044a7ae21350954e3523a70f2e4422a4e165ea.tar.gz
bcm5719-llvm-33044a7ae21350954e3523a70f2e4422a4e165ea.zip
[llvm-objcopy] - Emit error and don't crash if program header reaches past end of file.
This is https://bugs.llvm.org/show_bug.cgi?id=42122. If an object file has a size less than program header's file [offset + size] (i.e. if we have overflow), llvm-objcopy crashes instead of reporting a error. The patch fixes this issue. Differential revision: https://reviews.llvm.org/D62898 llvm-svn: 362778
Diffstat (limited to 'llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud