[SCM] Samba Shared Repository - branch v3-4-test updated

Karolin Seeger kseeger at samba.org
Mon Oct 12 02:48:14 MDT 2009


The branch, v3-4-test has been updated
       via  951991d... Fix bug 6774 - smbd crashes if "aio write behind" is set.
      from  a13f8bf... s3/aio: allow for outstanding_aio_calls to be decremented.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit 951991df2976b5f8f57c0418257d9d817ebda661
Author: Jeremy Allison <jra at samba.org>
Date:   Fri Oct 9 10:01:29 2009 -0700

    Fix bug 6774 - smbd crashes if "aio write behind" is set.
    
    Don't dereference a talloc_move'd pointer.
    
    Jeremy.

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c
index e5e522c..ab98675 100644
--- a/source3/smbd/aio.c
+++ b/source3/smbd/aio.c
@@ -299,7 +299,7 @@ bool schedule_aio_write_and_X(connection_struct *conn,
 		show_msg(aio_ex->outbuf);
 		if (!srv_send_smb(smbd_server_fd(),aio_ex->outbuf,
 				IS_CONN_ENCRYPTED(fsp->conn),
-				&req->pcd)) {
+				&aio_ex->req->pcd)) {
 			exit_server_cleanly("handle_aio_write: srv_send_smb "
 					    "failed.");
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list