diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2020-08-21 23:19:36 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2020-08-21 23:19:36 +0200 |
commit | 17cd34409a3ab1c46ff55960b7b89c11e1d5674d (patch) | |
tree | 753fd894d2e020fa24cc661758b138338bb664a5 /lldb/packages/Python/lldbsuite/test | |
parent | e0c01e6cb07133f0bb155a168d967cf854f03ffa (diff) | |
download | llvm-17cd34409a3ab1c46ff55960b7b89c11e1d5674d.zip llvm-17cd34409a3ab1c46ff55960b7b89c11e1d5674d.tar.gz llvm-17cd34409a3ab1c46ff55960b7b89c11e1d5674d.tar.bz2 |
Fix two bugs in TGParser::ParseValue
TGParser::ParseValue contains two recursive calls, one to parse the RHS of a list paste operator and one to parse the RHS of a paste operator in a class/def name. Both of these calls neglect to check the return value to see if it is null (because of some error). This causes a crash in the next line of code, which uses the return value. The code now checks for null returns.
Differential Revision: https://reviews.llvm.org/D85852
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions