aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-07-24 15:07:38 -0700
committerGitHub <noreply@github.com>2024-07-24 15:07:38 -0700
commite846fb48038a34d8df3ad7412bbdcf37e9e7acc9 (patch)
tree4e6898a94f677b4cb6d1153ccf84a408db8ca036 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent8b094c9df34f3190b66d11d19379be1f4c89beec (diff)
downloadllvm-e846fb48038a34d8df3ad7412bbdcf37e9e7acc9.zip
llvm-e846fb48038a34d8df3ad7412bbdcf37e9e7acc9.tar.gz
llvm-e846fb48038a34d8df3ad7412bbdcf37e9e7acc9.tar.bz2
[lldb] Prevent passing a nullptr to std::string in ObjectFileMachO (#100421)
Prevent passing a nullptr to std::string::insert in ObjectFileMachO::GetDependentModules. Calling GetCString on an empty ConstString will return a nullptr, which is undefined behavior. Instead, use the GetString helper which will return an empty string in that case. rdar://132388027
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions