summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-10-17 09:30:06 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-10-17 09:30:06 +0000
commit71f3c1921a8c56123d74f65e62b0c736297ad0fa (patch)
treef5718a6d810b929667321bdc3c42337b706446b6 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py
parentada286202e2ba878163787f31b26d952de30797a (diff)
downloadbcm5719-llvm-71f3c1921a8c56123d74f65e62b0c736297ad0fa.tar.gz
bcm5719-llvm-71f3c1921a8c56123d74f65e62b0c736297ad0fa.zip
[Object/ELF] - Do not crash on invalid section index.
If object has wrong (large) string table index and also incorrect large value for amount of sections in total, then section index passes the check: if (Index >= getNumSections()) return object_error::invalid_section_index; But result pointer then is far after end of file data, what result in a crash. Differential revision: https://reviews.llvm.org/D25081 llvm-svn: 284369
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud