[Lldb-commits] [lldb] r146935 - /lldb/trunk/test/python_api/default-constructor/sb_stringlist.py

Johnny Chen johnny.chen at apple.com
Mon Dec 19 16:49:06 PST 2011


Author: johnny
Date: Mon Dec 19 18:49:06 2011
New Revision: 146935

URL: http://llvm.org/viewvc/llvm-project?rev=146935&view=rev
Log:
Add fuzz call to SBStringList.AppendString(None).  LLDB should not crash.

Modified:
    lldb/trunk/test/python_api/default-constructor/sb_stringlist.py

Modified: lldb/trunk/test/python_api/default-constructor/sb_stringlist.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/default-constructor/sb_stringlist.py?rev=146935&r1=146934&r2=146935&view=diff
==============================================================================
--- lldb/trunk/test/python_api/default-constructor/sb_stringlist.py (original)
+++ lldb/trunk/test/python_api/default-constructor/sb_stringlist.py Mon Dec 19 18:49:06 2011
@@ -7,6 +7,7 @@
 
 def fuzz_obj(obj):
     obj.AppendString("another string")
+    obj.AppendString(None)
     obj.AppendList(None, 0)
     obj.AppendList(lldb.SBStringList())
     obj.GetSize()





More information about the lldb-commits mailing list