From 36a5e353538cc6f0fe53670f9773b9acc51d4816 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 30 Nov 2005 04:45:26 +0000 Subject: 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) --- source4/librpc/rpc/dcerpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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; -- cgit