git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fba028a
)
s4:librpc/rpc: don't mix up paylod ndr flags with the dcerpc layer
author
Stefan Metzmacher
<metze@samba.org>
Tue, 3 Apr 2012 17:55:42 +0000
(19:55 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 3 Apr 2012 18:02:10 +0000
(20:02 +0200)
If the transfer syntax is NDR64, it's only for the payload not
for the dcerpc pdus.
metze
source4/librpc/rpc/dcerpc.c
patch
|
blob
|
history
diff --git
a/source4/librpc/rpc/dcerpc.c
b/source4/librpc/rpc/dcerpc.c
index ebf6f33aa5f21329f892d70a76e7fd1a283e1045..5d286c83c06f0e3dd0b35cdcec651eba0fc45560 100644
(file)
--- a/
source4/librpc/rpc/dcerpc.c
+++ b/
source4/librpc/rpc/dcerpc.c
@@
-674,7
+674,7
@@
static NTSTATUS ncacn_pull(struct dcecli_connection *c, DATA_BLOB *blob, TALLOC_
struct ndr_pull *ndr;
enum ndr_err_code ndr_err;
- ndr = ndr_pull_init_
flags(c,
blob, mem_ctx);
+ ndr = ndr_pull_init_
blob(
blob, mem_ctx);
if (!ndr) {
return NT_STATUS_NO_MEMORY;
}