summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorsmanna12 <soumi.manna@intel.com>2024-07-01 11:03:03 -0700
committerGitHub <noreply@github.com>2024-07-01 13:03:03 -0500
commit1c0e7221ce35e4b709951c06c67aeb1ed3205f27 (patch)
treec1e6e734e39b0041a467500f3ce320084aa363af /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parenta5e905b73d4aec4365a63040338cb02118ae80e5 (diff)
[Clang] Prevent null pointer dereference in DiagnoseDeclAvailability() (#97095)
This patch adds an assertion in the DiagnoseDeclAvailabilit() function to ensure that the expected availability attribute is not null before they are passed to hasMatchingEnvironmentOrNone() to prevent potential null pointer dereferences and improve the robustness of the availability diagnostics process.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions