diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-02-10 01:19:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:37 -0500 |
commit | 1ac4f562e2b77ba7b76028a06427ec8aeecb0df1 (patch) | |
tree | 4707cc1fbf53a579aecb5633919cece355b09d93 /source4/librpc | |
parent | 42ef2f8e7b114ee5620921a2f51566cdefd7afe9 (diff) | |
download | samba-1ac4f562e2b77ba7b76028a06427ec8aeecb0df1.tar.gz samba-1ac4f562e2b77ba7b76028a06427ec8aeecb0df1.tar.bz2 samba-1ac4f562e2b77ba7b76028a06427ec8aeecb0df1.zip |
r5291: fixed ncacn_ip_tcp against windows
(This used to be commit 8df8308f7f7c937ea8bcbb4336e98911824ece48)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 22ff5d0362..a78885b3f6 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -731,8 +731,7 @@ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding * tower->floors[0].lhs.lhs_data = dcerpc_floor_pack_lhs_data(mem_ctx, &binding->object, binding->object_version); - tower->floors[0].rhs.uuid.unknown = data_blob_talloc(mem_ctx, NULL, 0); - + tower->floors[0].rhs.uuid.unknown = data_blob_talloc_zero(mem_ctx, 2); /* Floor 1 */ tower->floors[1].lhs.protocol = EPM_PROTOCOL_UUID; @@ -744,7 +743,7 @@ NTSTATUS dcerpc_binding_build_tower(TALLOC_CTX *mem_ctx, struct dcerpc_binding * tower->floors[1].lhs.lhs_data = dcerpc_floor_pack_lhs_data(mem_ctx, &ndr_guid, NDR_GUID_VERSION); - tower->floors[1].rhs.uuid.unknown = data_blob_talloc(mem_ctx, NULL, 0); + tower->floors[1].rhs.uuid.unknown = data_blob_talloc_zero(mem_ctx, 2); /* Floor 2 to num_protocols */ for (i = 0; i < num_protocols; i++) { |