diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-30 04:45:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:52 -0500 |
commit | 36a5e353538cc6f0fe53670f9773b9acc51d4816 (patch) | |
tree | b0f5d38c51504bf57f7c580469b2ae5ed42a96b9 /source4/librpc | |
parent | 516d0a97c9ecbbaa63b69c5c2c6a59a08f57a171 (diff) | |
download | samba-36a5e353538cc6f0fe53670f9773b9acc51d4816.tar.gz samba-36a5e353538cc6f0fe53670f9773b9acc51d4816.tar.bz2 samba-36a5e353538cc6f0fe53670f9773b9acc51d4816.zip |
r11970: fixed a valgrind error. The auth info from the alter_context reply was
being freed before being given to gensec_update()
(This used to be commit cf2cb4279e2b31989eee2fec848982b10fcc2136)
Diffstat (limited to 'source4/librpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index 220b061f3c..aabc71a258 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -1557,7 +1557,7 @@ static void dcerpc_alter_recv_data(struct dcerpc_connection *conn, struct ncacn_ if (pipe->conn->security_state.auth_info && pkt->u.alter_resp.auth_info.length) { c->status = ndr_pull_struct_blob( - &pkt->u.alter_resp.auth_info, c, + &pkt->u.alter_resp.auth_info, pipe, pipe->conn->security_state.auth_info, (ndr_pull_flags_fn_t)ndr_pull_dcerpc_auth); if (!composite_is_ok(c)) return; |