clayborg added inline comments.
================
Comment at:
lldb/trunk/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp:860
PyRefType::Owned,
- Py_BuildValue("(Os)", session_dict.get(), command));
+ Py_BuildValue("(Os)", session_dict.get(),
command_str.c_str()));
if (pargs.IsValid()) {
----------------
Of course this could have been fixed by using "s#" which allows the length to
be supplied:
```
Py_BuildValue("(Os#)", session_dict.get(), command.data(),
(int)command.size()));
```
Repository:
rL LLVM
https://reviews.llvm.org/D49309
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits