[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue Oct 25 18:43:02 MDT 2011


The branch, master has been updated
       via  0f746fc Second attempt to fix bug #8384 - Windows XP clients seem to crash smbd process every once in a while.
      from  414df4b s3:smb2cli_base: make use of [_]smb_[set]len_tcp()

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


- Log -----------------------------------------------------------------
commit 0f746fcad83350afe3168036cb084b86cd286e85
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Oct 25 15:31:48 2011 -0700

    Second attempt to fix bug #8384 - Windows XP clients seem to crash smbd process every once in a while.
    
    Don't just use the first entry in back_channels as a talloc context
    to allocate a long-lived chan entry on - must be NULL. It's already
    correctly deleted when the last reference goes away.
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Wed Oct 26 02:42:35 CEST 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 2efd882..3405566 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2613,7 +2613,7 @@ static bool srv_spoolss_replyopenprinter(int snum, const char *printer,
 		/* the +2 is to strip the leading 2 backslashs */
 		fstrcpy(unix_printer, printer + 2);
 
-		chan = talloc_zero(back_channels, struct notify_back_channel);
+		chan = talloc_zero(NULL, struct notify_back_channel);
 		if (!chan) {
 			return false;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list