commit | db46267ecb10530054009e6db25d2d39fb1cc2ab | [log] [tgz] |
---|---|---|
author | Erik Pilkington <erik.pilkington@gmail.com> | Sun May 28 23:15:50 2017 +0000 |
committer | Erik Pilkington <erik.pilkington@gmail.com> | Sun May 28 23:15:50 2017 +0000 |
tree | 49d8cd85871d019cec3539024148c6745acbacb6 | |
parent | 9111b9c5390c6011dc5c256e0f6ae92d6e568228 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@304113 91177308-0d34-0410-b5e6-96231b3b80d8