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

Karolin Seeger kseeger at samba.org
Mon May 7 07:05:10 MDT 2012


The branch, v3-6-test has been updated
       via  237d4da s3: Fix a segfault with debug level 3 on Solaris
      from  3882e0a WHATSNEW: Start release notes for 3.6.6.

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


- Log -----------------------------------------------------------------
commit 237d4dacfed478ce7f23a5f46b609189215259d3
Author: Volker Lendecke <vl at samba.org>
Date:   Thu Apr 12 12:15:50 2012 +0200

    s3: Fix a segfault with debug level 3 on Solaris
    
    printf can not deal with NULL strings
    
    Fix bug #8861 (smbd crashes on high debug level with anonymous logins).

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

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index ddc7ad1..f032a56 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -294,7 +294,8 @@ int register_existing_vuid(struct smbd_server_connection *sconn,
 
 	DEBUG(3, ("register_existing_vuid: User name: %s\t"
 		  "Real name: %s\n", vuser->session_info->unix_name,
-		  vuser->session_info->info3->base.full_name.string));
+		  vuser->session_info->info3->base.full_name.string ?
+		  vuser->session_info->info3->base.full_name.string : ""));
 
 	if (!vuser->session_info->security_token) {
 		DEBUG(1, ("register_existing_vuid: session_info does not "


-- 
Samba Shared Repository


More information about the samba-cvs mailing list