diff options
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 99b7a54227..dc2eded967 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -425,7 +425,8 @@ NTSTATUS dcerpc_floor_get_lhs_data(struct epm_floor *epm_floor, struct dcerpc_sy TALLOC_CTX *mem_ctx = talloc_init("floor_get_lhs_data"); struct ndr_pull *ndr = ndr_pull_init_blob(&epm_floor->lhs.lhs_data, mem_ctx); NTSTATUS status; - + uint16_t if_version=0; + ndr->flags |= LIBNDR_FLAG_NOALIGN; status = ndr_pull_GUID(ndr, NDR_SCALARS | NDR_BUFFERS, &syntax->uuid); @@ -434,7 +435,8 @@ NTSTATUS dcerpc_floor_get_lhs_data(struct epm_floor *epm_floor, struct dcerpc_sy return status; } - status = ndr_pull_uint16(ndr, NDR_SCALARS, &syntax->if_version); + status = ndr_pull_uint16(ndr, NDR_SCALARS, &if_version); + syntax->if_version = if_version; talloc_free(mem_ctx); |