summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-03-08 14:01:50 +1300
committerKarolin Seeger <kseeger@samba.org>2018-08-23 10:38:28 +0200
commite35fd2687e802d6961118f30670d7f8584337193 (patch)
treee3a4b94023d7ffed288bcba6b2333dad88eea737 /lib
parent0eaf84a4f5c313776c6feab2968f241b5ce55a91 (diff)
downloadsamba-e35fd2687e802d6961118f30670d7f8584337193.tar.gz
ldb: Fix missing NULL terminator in ldb_mod_op_test testsuite
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13575 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> (cherry picked from commit f8b368c9f0c2a34b6d15303a9d6facd762e1a517)
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/tests/ldb_mod_op_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ldb/tests/ldb_mod_op_test.c b/lib/ldb/tests/ldb_mod_op_test.c
index c8b9c1aa9ff..f52cfdefc03 100644
--- a/lib/ldb/tests/ldb_mod_op_test.c
+++ b/lib/ldb/tests/ldb_mod_op_test.c
@@ -3314,7 +3314,7 @@ static int ldb_unique_index_test_setup(void **state)
"dn: @INDEXLIST\n"
"@IDXATTR: cn\n"
"\n";
- const char *options[] = {"modules:unique_index_test"};
+ const char *options[] = {"modules:unique_index_test", NULL};
ret = ldb_register_module(&ldb_unique_index_test_module_ops);
@@ -3416,7 +3416,7 @@ static int ldb_non_unique_index_test_setup(void **state)
"dn: @INDEXLIST\n"
"@IDXATTR: cn\n"
"\n";
- const char *options[] = {"modules:unique_index_test"};
+ const char *options[] = {"modules:unique_index_test", NULL};
ret = ldb_register_module(&ldb_unique_index_test_module_ops);