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:
0529160
)
Do not leak pkt data on the long term cli memory context
author
Simo Sorce
<idra@samba.org>
Mon, 23 Aug 2010 22:21:17 +0000
(18:21 -0400)
committer
Simo Sorce
<idra@samba.org>
Mon, 23 Aug 2010 22:21:17 +0000
(18:21 -0400)
source3/rpc_client/cli_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_pipe.c
b/source3/rpc_client/cli_pipe.c
index 87575cb542c67937748ba1235ce0300b96b94b9b..d3e0c60b6af07f082836f0176a514d673ae7d108 100644
(file)
--- a/
source3/rpc_client/cli_pipe.c
+++ b/
source3/rpc_client/cli_pipe.c
@@
-383,7
+383,7
@@
static NTSTATUS cli_pipe_validate_current_pdu(TALLOC_CTX *mem_ctx,
NTSTATUS ret = NT_STATUS_OK;
size_t pad_len = 0;
- ret = dcerpc_pull_ncacn_packet(
cli
, pdu, pkt, false);
+ ret = dcerpc_pull_ncacn_packet(
pkt
, pdu, pkt, false);
if (!NT_STATUS_IS_OK(ret)) {
return ret;
}