[Lldb-commits] [Bug 11569] LLDBSwigPythonCallCommand crashes when a command script returns an object

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 14 12:44:49 PST 2011


johnny.chen at apple.com changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |johnny.chen at apple.com
         Resolution|                            |FIXED

--- Comment #1 from johnny.chen at apple.com 2011-12-14 14:44:49 CST ---
Checked in http://llvm.org/viewvc/llvm-project?rev=146584&view=rev. thanks!

Add more robustness to LLDBSwigPythonCallCommand.  It should check whether the
returned Python object
is a string, and only assign it as the error msg when the check holds.
Also add a regression test.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the lldb-commits mailing list