diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-07-24 15:07:38 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 15:07:38 -0700 |
| commit | e846fb48038a34d8df3ad7412bbdcf37e9e7acc9 (patch) | |
| tree | 4e6898a94f677b4cb6d1153ccf84a408db8ca036 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 8b094c9df34f3190b66d11d19379be1f4c89beec (diff) | |
| download | llvm-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/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
