summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-03-22 00:26:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:10 -0500
commitb7676c4b48f2d39446b853bc87c0b288ac368e36 (patch)
tree142ad0e1a116d18de52e27fcff37d6622acb52f6 /source4
parent13b0776f60f6a0f35a4afc2b3d3c6b5ec9c1ca6a (diff)
downloadsamba-b7676c4b48f2d39446b853bc87c0b288ac368e36.tar.gz
samba-b7676c4b48f2d39446b853bc87c0b288ac368e36.tar.bz2
samba-b7676c4b48f2d39446b853bc87c0b288ac368e36.zip
r5930: Fix initialisation of dcerpc_binding->authservice
(This used to be commit f8cf161e0e59bd6b2a62135be8511403f4e9ca70)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index ed4015c878..bbbda5ee28 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -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 */