summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
diff options
context:
space:
mode:
authorZiqing Luo <ziqing@udel.edu>2025-02-28 10:33:32 -0800
committerGitHub <noreply@github.com>2025-02-28 10:33:32 -0800
commit7446601c6a9b71945fdc9d7434d8347789708858 (patch)
tree50b9b7f5ec7b673abb9a1af799724a56d51a5366 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
parent818bca820ffd3e30fbd3852da0436c24ff15f8a3 (diff)
[-Wunsafe-buffer-usage] Fix a potential overflow bug reported by #126334 (#129169)
`MeasureTokenLength` may return an unsigned 0 representing failure in obtaining length of a token. The analysis now gives up on such cases. Otherwise, there might be issues caused by unsigned integer "overflow".
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions