diff options
author | Alexander Richardson <arichardson.kde@gmail.com> | 2017-10-05 23:28:34 +0000 |
---|---|---|
committer | Alexander Richardson <arichardson.kde@gmail.com> | 2017-10-05 23:28:34 +0000 |
commit | b9aa9a55006add424a18dd19a518064994a4eed4 (patch) | |
tree | 3f3bdaf347933ec4e9fae89984c7b84b9e3eda0e /lldb/packages/Python/lldbsuite/test/functionalities/command_source | |
parent | 57f089775b23cabdbafd5a84eebd78d830bf8d9d (diff) | |
download | bcm5719-llvm-b9aa9a55006add424a18dd19a518064994a4eed4.tar.gz bcm5719-llvm-b9aa9a55006add424a18dd19a518064994a4eed4.zip |
[ELF] Don't crash when parsing a file with out-of-bounds version references
Summary:
We were crashing when linking telnetd in FreeBSD because lld was emitting
corrupted output files for --norosegment. In this file the version index of some symbols
was set to 9 but lld only found 8 version definitions.
I am not sure how to create a minimal .so file that also exposes this behaviour so I just added the one that initially caused the error to Inputs/
This partially addresses https://bugs.llvm.org/show_bug.cgi?id=34705
Reviewers: ruiu, rafael, pcc, grimar
Reviewed By: ruiu
Subscribers: emaste, krytarowski
Tags: #lld
Differential Revision: https://reviews.llvm.org/D38397
llvm-svn: 315036
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/command_source')
0 files changed, 0 insertions, 0 deletions