commit | c65046d4ce6f4f0663750273f340cc14e06f1b71 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Thu Mar 08 20:53:04 2012 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Thu Mar 08 20:53:04 2012 +0000 |
tree | 09c083a83c89e340533be7230c7723b04ef3d446 | |
parent | c227cd962515a765638a901c14d5cea4ca1b2e9d [diff] |
Fixed a crasher when Xcode calls into ScriptInterpreterPython::ResetOutputFileHandle(). The Locker should only perform acquire/free lock operation, but no enter/leave session at all. Also added sanity checks for items passed to the PyDict_SetItemString() calls. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@152337 91177308-0d34-0410-b5e6-96231b3b80d8