diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2017-05-28 23:15:50 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2017-05-28 23:15:50 +0000 |
commit | a34ea7583fb292454ba3808b62a06da07c609fdb (patch) | |
tree | e8620f17bd09e3ddee08d56195b3233b6cd1a69e /lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py | |
parent | a288ec412f3ffe2f5b2a985cba0553bc95ac591b (diff) | |
download | bcm5719-llvm-a34ea7583fb292454ba3808b62a06da07c609fdb.tar.gz bcm5719-llvm-a34ea7583fb292454ba3808b62a06da07c609fdb.zip |
[demangler] Fix a exponential string copying bug
The problem was that if base_name() was called from a context without
an actual base name, it could gulp up the entire string, which can
result in recursive duplications. The fix is to be more strict as to
what qualifies as a base name.
Differential revision: https://reviews.llvm.org/D33637
llvm-svn: 304113
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/symbol-context/TestSymbolContext.py')
0 files changed, 0 insertions, 0 deletions