diff options
| author | guillem-bartrina-sonarsource <guillem.bartrina@sonarsource.com> | 2025-11-17 13:00:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 13:00:10 +0100 |
| commit | fdbb888db53f156699ba3a94d5a0ce2005fd6e3c (patch) | |
| tree | a629a8a17dab36c80fdf6cc6aeb32eb819e2e538 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 74c91680e6c9e68c9915ac10eb95c2fe31fd5651 (diff) | |
[analyzer] StdVariantChecker: fix crashes and incorrect retrieval of template arguments (#167341)
Although very unusual, the SVal of the argument is not checked for
UnknownVal, so we may get a null pointer dereference.
In addition, the template arguments of the variant are retrieved
incorrectly when type aliases are involved, causing crashes and FPs/FNs.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
