diff options
| author | Jorge Gorbe Moya <jgorbe@google.com> | 2019-03-15 01:46:50 +0000 |
|---|---|---|
| committer | Jorge Gorbe Moya <jgorbe@google.com> | 2019-03-15 01:46:50 +0000 |
| commit | 717b1c804b29a8932e6598851328b56f8d155e68 (patch) | |
| tree | 0364eefb1d638b9faca4d7d127fb49351b8327dc /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | e8710ef1fbe8109eaa36143654f325dd345f8a01 (diff) | |
[lldb-vscode] Fix dangling pointer in request_evaluate.
SBError::GetCString() returns a pointer to a string owned by the SBError
object. The code here was calling GetCString on a temporary and using
the returned pointer after the temporary was destroyed.
Differential Revision: https://reviews.llvm.org/D59400
llvm-svn: 356227
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
