svn commit: samba r11970 - in branches/SAMBA_4_0/source/librpc/rpc: .

tridge at samba.org tridge at samba.org
Wed Nov 30 04:45:27 GMT 2005


Author: tridge
Date: 2005-11-30 04:45:26 +0000 (Wed, 30 Nov 2005)
New Revision: 11970

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11970

Log:

fixed a valgrind error. The auth info from the alter_context reply was
being freed before being given to gensec_update()


Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-30 03:35:17 UTC (rev 11969)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-30 04:45:26 UTC (rev 11970)
@@ -1557,7 +1557,7 @@
 	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;



More information about the samba-cvs mailing list