diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-10-14 11:10:36 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-10-14 11:10:36 +0000 |
commit | 85e6106d76af306c0a78324c13d9f9d1ca6ea508 (patch) | |
tree | 6362b65eb9694502c1de6be34ba42b204cbbceeb /clang/lib/Format/SortJavaScriptImports.cpp | |
parent | cc6e567ca38f3967ef9db746e685a33779e62da3 (diff) | |
download | bcm5719-llvm-85e6106d76af306c0a78324c13d9f9d1ca6ea508.tar.gz bcm5719-llvm-85e6106d76af306c0a78324c13d9f9d1ca6ea508.zip |
[ELF] - Do not crash when object has multiple SHT_MIPS_OPTIONS
Issue was revealed by AFl and I was able to generate such object using yaml2obj.
When object has more than one SHT_MIPS_OPTIONS,
each except the last one is destroyed after placing into Sections array.
Sections array contains dead pointers finally. LLD may crash then.
Differential revision: https://reviews.llvm.org/D25555
llvm-svn: 284227
Diffstat (limited to 'clang/lib/Format/SortJavaScriptImports.cpp')
0 files changed, 0 insertions, 0 deletions