r11625: NULL terminate list of strings. For some reason this wasn't causing a
authorTim Potter <tpot@samba.org>
Thu, 10 Nov 2005 03:37:49 +0000 (03:37 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:46:00 +0000 (13:46 -0500)
crash on i386 but was on ia64.
(This used to be commit 12c77bb2e17ef3cb3264da86852832dffb5474c1)

source4/torture/local/util_strlist.c

index eb1de2b7c18da72fffe7958e955842fc1b25d900..bf888da7970c2b62d67fb5cf6451f99fb0924e18 100644 (file)
@@ -29,6 +29,7 @@ static const char *test_lists_shell_strings[] = {
        "foo bar \"bla \"",
        "foo \"\" bla",
        "bla \"\"\"\" blie",
+       NULL
 };
 
 static BOOL test_lists_shell(TALLOC_CTX *mem_ctx)