summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/skip1
-rw-r--r--source4/torture/ldap/uptodatevector.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/skip b/source4/selftest/skip
index f1500ff315..291ad8472d 100644
--- a/source4/selftest/skip
+++ b/source4/selftest/skip
@@ -42,7 +42,6 @@ ntvfs.cifs.raw.context
ntvfs.cifs.raw.qfileinfo.ipc
rpc.dssync
rpc.samsync
-ldap.uptodatevector # Segfaults
rpc.remact # Not provided by Samba 4
rpc.oxidresolve # Not provided by Samba 4
rpc.eventlog # Not provided by Samba 4
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) {