r5930: Fix initialisation of dcerpc_binding->authservice
authorJelmer Vernooij <jelmer@samba.org>
Tue, 22 Mar 2005 00:26:27 +0000 (00:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:11:10 +0000 (13:11 -0500)
(This used to be commit f8cf161e0e59bd6b2a62135be8511403f4e9ca70)

source4/librpc/rpc/dcerpc_util.c

index ed4015c8787b4dc565b423ee9dc02ab93860245a..bbbda5ee28ca36fff1a2140ee99434a832e5051c 100644 (file)
@@ -335,6 +335,8 @@ NTSTATUS dcerpc_parse_binding(TALLOC_CTX *mem_ctx, const char *s, struct dcerpc_
                return NT_STATUS_NO_MEMORY;
        }
 
+       b->authservice = NULL;
+
        p = strchr(s, '@');
 
        if (p && PTR_DIFF(p, s) == 36) { /* 36 is the length of a UUID */