summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-12-20 00:49:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-12-20 00:49:06 +0000
commitc89c74ec2d4fb21ce08619520dd25ee25a5c0f8b (patch)
tree80511371d2ecc31e4fd170fbdc864c46227bee1e /lldb/test/python_api
parent4f8189bc6bf58336c9ba32a84cca298680a928c9 (diff)
downloadbcm5719-llvm-c89c74ec2d4fb21ce08619520dd25ee25a5c0f8b.tar.gz
bcm5719-llvm-c89c74ec2d4fb21ce08619520dd25ee25a5c0f8b.zip
Add fuzz call to SBStringList.AppendString(None). LLDB should not crash.
llvm-svn: 146935
Diffstat (limited to 'lldb/test/python_api')
-rw-r--r--lldb/test/python_api/default-constructor/sb_stringlist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/python_api/default-constructor/sb_stringlist.py b/lldb/test/python_api/default-constructor/sb_stringlist.py
index d69a2dfd4a4..54d669dd697 100644
--- a/lldb/test/python_api/default-constructor/sb_stringlist.py
+++ b/lldb/test/python_api/default-constructor/sb_stringlist.py
@@ -7,6 +7,7 @@ import lldb
def fuzz_obj(obj):
obj.AppendString("another string")
+ obj.AppendString(None)
obj.AppendList(None, 0)
obj.AppendList(lldb.SBStringList())
obj.GetSize()
OpenPOWER on IntegriCloud