diff options
| author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2025-10-08 13:57:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-08 13:57:16 -0700 |
| commit | 37af81fbb54aed5a7433c8c48217b1d54384c3cf (patch) | |
| tree | 30a45814acbba9d08a515c9669546c78983cfd75 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | 0ca23a3054cb87dc5a58420fe1f39383d5641eeb (diff) | |
| download | llvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.zip llvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.tar.gz llvm-37af81fbb54aed5a7433c8c48217b1d54384c3cf.tar.bz2 | |
[Clang][Sema] Add a nullptr check in template name (#162377)
Static analysis flagged that when calling ActOnTemplateName, `S` can be
a `nullptr`
and we call `isTemplateName` which unconditionally dereferences the `S`
argument at
some point. I added a `nullptr` check to assure we don't dereference `S`
in
`isTemplateName` if it is a `nullptr`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
