summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAndreyChurbanov <andrey.churbanov@intel.com>2021-10-27 16:38:09 +0300
committerAndreyChurbanov <andrey.churbanov@intel.com>2021-10-27 16:54:44 +0300
commitc704b25b449418217f2e3ee41c100f3ee9a59e4c (patch)
treef7dab61bc1bcd1be745ed29741055901713f29a0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent9f9034758896530c97861392ba49c4847347b807 (diff)
[OpenMP] libomp: Fix possible NULL dereference.
According to dlsym description, the value of symbol could be NULL, and there is no error in this case. Thus dlerror will also return NULL in this case. We need to check the value returned by dlerror before printing it. Differential Revision: https://reviews.llvm.org/D112174
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions