summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-05 09:31:41 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-05 17:48:08 +0100
commit0fe9980fa08ac488f19086d650646017acaaf6e9 (patch)
treeafb12a666ea3c6fdc61a785a84e254d32dcb984c /source4/torture/ldap
parentfdd6c106cf236150e4c5e7c6176156230c3ccfa9 (diff)
downloadsamba-0fe9980fa08ac488f19086d650646017acaaf6e9.tar.gz
samba-0fe9980fa08ac488f19086d650646017acaaf6e9.tar.bz2
samba-0fe9980fa08ac488f19086d650646017acaaf6e9.zip
LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
metze
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/uptodatevector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/ldap/uptodatevector.c b/source4/torture/ldap/uptodatevector.c
index 6200f4c3de..bf32edb065 100644
--- a/source4/torture/ldap/uptodatevector.c
+++ b/source4/torture/ldap/uptodatevector.c
@@ -127,6 +127,7 @@ static bool test_check_uptodatevector(struct torture_context *torture,
no_match = true;
} else if (utdv_val1 && !utdv_val) {
no_match = true;
+ } else if (!utdv_val1 && !utdv_val) {
} else if (utdv_val1->length != utdv_val->length) {
no_match = true;
} else if (utdv_val1->length && memcmp(utdv_val1->data, utdv_val->data, utdv_val->length) != 0) {