teak-llvm/lldb/source/Plugins/ScriptInterpreter/Python
Stefan Granitz 42a9da7b35 Fix potential UB when target_file directory is null
Summary: As seen in a crash report, the C-string returned for the directory component of `target_file` can null. It should not be assigned to `std::string` directly as this is undefined behavior.

Reviewers: jingham

Reviewed By: jingham

Subscribers: jdoerfert, lldb-commits, #lldb

Differential Revision: https://reviews.llvm.org/D57964

llvm-svn: 354145
2019-02-15 16:42:29 +00:00
..
CMakeLists.txt ScriptInterpreterPython cleanup 2018-06-21 14:09:15 +00:00
lldb-python.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PythonDataObjects.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PythonDataObjects.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PythonExceptionState.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PythonExceptionState.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ScriptInterpreterPython.cpp Fix potential UB when target_file directory is null 2019-02-15 16:42:29 +00:00
ScriptInterpreterPython.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00