[SCM] Samba Shared Repository - branch master updated

Simo Sorce idra at samba.org
Wed Jul 21 17:13:42 MDT 2010


The branch, master has been updated
       via  a3713d7... s3-dcerpc: Properly initialize output buffers on nak/fault
      from  26f1218... s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a3713d746949788c393ecf2b0d10d105c2220b22
Author: Simo Sorce <idra at samba.org>
Date:   Tue Jul 20 13:56:25 2010 -0400

    s3-dcerpc: Properly initialize output buffers on nak/fault

-----------------------------------------------------------------------

Summary of changes:
 source3/rpc_server/srv_pipe.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 0132400..b25f122 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -603,6 +603,8 @@ bool api_pipe_bind_auth3(pipes_struct *p, struct ncacn_packet *pkt)
 	return False;
 }
 
+static bool pipe_init_outgoing_data(pipes_struct *p);
+
 /*******************************************************************
  Marshall a bind_nak pdu.
 *******************************************************************/
@@ -613,7 +615,7 @@ static bool setup_bind_nak(pipes_struct *p, struct ncacn_packet *pkt)
 	union dcerpc_payload u;
 
 	/* Free any memory in the current return data buffer. */
-	data_blob_free(&p->out_data.rdata);
+	pipe_init_outgoing_data(p);
 
 	/*
 	 * Initialize a bind_nak header.
@@ -664,7 +666,7 @@ bool setup_fault_pdu(pipes_struct *p, NTSTATUS fault_status)
 	union dcerpc_payload u;
 
 	/* Free any memory in the current return data buffer. */
-	data_blob_free(&p->out_data.rdata);
+	pipe_init_outgoing_data(p);
 
 	/*
 	 * Initialize a fault header.


-- 
Samba Shared Repository


More information about the samba-cvs mailing list