The branch, v3-6-test has been updated
       via  cb6795b Properly fix bug #8384 - Windows XP clients seem to crash 
smbd process every once in a while.
      from  b01b1fa examples: Fix perl path.

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


- Log -----------------------------------------------------------------
commit cb6795bea659e884e23173960e68a2f970fc5dd3
Author: Henry Wong <[email protected]>
Date:   Fri Nov 4 11:20:10 2011 -0700

    Properly fix bug #8384 - Windows XP clients seem to crash smbd process 
every once in a while.
    
    Ensure we correctly null out the referenced pointer when we decrease the 
ref. count.
    
    Autobuild-User: Jeremy Allison <[email protected]>
    Autobuild-Date: Fri Nov  4 21:12:13 CET 2011 on sn-devel-104
    (cherry picked from commit 51c86c8e67c3b026f49136f5b6743c279cc206d2)

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

Summary of changes:
 source3/rpc_server/spoolss/srv_spoolss_nt.c |    1 +
 1 files changed, 1 insertions(+), 0 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 c886f34..bfec3cc 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -295,6 +295,7 @@ static void srv_spoolss_replycloseprinter(int snum,
 
        if (prn_hnd->notify.cli_chan) {
                prn_hnd->notify.cli_chan->active_connections--;
+               prn_hnd->notify.cli_chan = NULL;
        }
 }
 


-- 
Samba Shared Repository

Reply via email to