[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue Jan 8 15:31:02 MST 2013


The branch, master has been updated
       via  3d5c534 smbd: Fix bug 9549 -- Memleak in the async echo handler
      from  eae01b0 samba-tool Add --service argument to samba-tool ntacl get/set

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


- Log -----------------------------------------------------------------
commit 3d5c534f0cc7c6e3eead7462eef4a178c7035857
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Jan 8 15:34:19 2013 +0100

    smbd: Fix bug 9549 -- Memleak in the async echo handler
    
    Reviewed by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Tue Jan  8 23:30:41 CET 2013 on sn-devel-104

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

Summary of changes:
 source3/smbd/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index f89ca02..a02aeda 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -3022,7 +3022,7 @@ static void smbd_echo_got_packet(struct tevent_req *req)
 		}
 
 		iov = &state->pending[num_pending];
-		iov->iov_base = buf;
+		iov->iov_base = talloc_move(state->pending, &buf);
 		iov->iov_len = buflen;
 
 		DEBUG(10,("echo_handler[%d]: forward to main\n",


-- 
Samba Shared Repository


More information about the samba-cvs mailing list