diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-11-10 16:43:19 +0000 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-11-10 16:43:19 +0000 |
commit | ad0f7d3d4a0c7ceaa5878494b2ad673287ef6a76 (patch) | |
tree | 072c9dbe8ef966fdbf9e41ebe755596c27a54c8c /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 9aea27ac88c408d18120a768047cedd90d987e03 (diff) | |
download | llvm-ad0f7d3d4a0c7ceaa5878494b2ad673287ef6a76.zip llvm-ad0f7d3d4a0c7ceaa5878494b2ad673287ef6a76.tar.gz llvm-ad0f7d3d4a0c7ceaa5878494b2ad673287ef6a76.tar.bz2 |
[lldb] Fix Scripted ProcessLaunchInfo Argument nullptr deref
This patch adds a new `StructuredData::Dictionary` constructor that
takes a `StructuredData::ObjectSP` as an argument. This is used to pass
the opaque_ptr from the `SBStructuredData` used to initialize a
ScriptedProecss, to the `ProcessLaunchInfo` class.
This also updates `SBLaunchInfo::SetScriptedProcessDictionary` to
reflect the formentionned changes which solves the nullptr deref.
Differential Revision: https://reviews.llvm.org/D112107
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions