diff options
| author | Fangrui Song <maskray@google.com> | 2018-09-07 00:18:07 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2018-09-07 00:18:07 +0000 |
| commit | 1fe3e8b26fffe117a66e7accb413da627740abee (patch) | |
| tree | 94c1b8eb173fd0b3a9b40dfd66c357f5b6d30399 /llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test | |
| parent | f9ec62cb3acd62a089f71eab4185ba1310296ea1 (diff) | |
| download | bcm5719-llvm-1fe3e8b26fffe117a66e7accb413da627740abee.tar.gz bcm5719-llvm-1fe3e8b26fffe117a66e7accb413da627740abee.zip | |
[ELF] Check if LinkSec is nullptr when initializing SHF_LINK_ORDER sections
Summary: This protects lld from a null pointer dereference when a faulty input file has such invalid sh_link fields.
Reviewers: ruiu, espindola
Reviewed By: ruiu
Subscribers: emaste, arichardson, llvm-commits
Differential Revision: https://reviews.llvm.org/D51743
llvm-svn: 341611
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/compress-debug-sections-default-gnu.test')
0 files changed, 0 insertions, 0 deletions

