1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r5930: Fix initialisation of dcerpc_binding->authservice

(This used to be commit f8cf161e0e)
This commit is contained in:
Jelmer Vernooij 2005-03-22 00:26:27 +00:00 committed by Gerald (Jerry) Carter
parent 13b0776f60
commit b7676c4b48

View 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 */