commit | 5efecd1377ee903afa8cde9884663f747d5109d4 | [log] [tgz] |
---|---|---|
author | Richard Diamond <wichard@vitalitystudios.com> | Wed Nov 25 22:49:48 2015 +0000 |
committer | Richard Diamond <wichard@vitalitystudios.com> | Wed Nov 25 22:49:48 2015 +0000 |
tree | 330fd71a4a210a1afb7ae68f8c0c63d0a802de7b | |
parent | d5a489c81295f8d50cfceb61161a996b9677ccd4 [diff] |
Fix a use-after-free in `llvm-config`. Summary: This could happen if `GetComponentNames` is true, because `Name` from `VisitComponent` would reference a stack instance of `std::string` in `ComputeLibsForComponents`. Reviewers: beanz Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D14913 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254108 91177308-0d34-0410-b5e6-96231b3b80d8