From 0fe9980fa08ac488f19086d650646017acaaf6e9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 5 Feb 2009 09:31:41 +0100 Subject: LDAP-UPTODATEVECTOR: fix segfault against samba4 as server metze --- source4/torture/ldap/uptodatevector.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/torture') 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) { -- cgit