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

Jeremy Allison jra at samba.org
Wed Oct 14 13:37:11 MDT 2009


The branch, v3-5-test has been updated
       via  9535d43... Fix the build, missing ->. Jeremy.
      from  4c8175c... Final part of fix for bug 6793 - winbindd crash with "INTERNAL ERROR: Signal 6" Don't use mapped_user uninitialized. Jeremy.

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


- Log -----------------------------------------------------------------
commit 9535d43484d299f716e8f58a2b511b7abf4332da
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Oct 14 12:36:02 2009 -0700

    Fix the build, missing ->.
    Jeremy.

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

Summary of changes:
 nsswitch/pam_winbind.c          |    4 ++--
 source3/winbindd/winbindd_pam.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index a37ea7f..0b00c95 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -980,8 +980,8 @@ static bool winbind_name_to_sid_string(struct pwb_context *ctx,
 				       char *sid_list_buffer,
 				       int sid_list_buffer_size)
 {
-	const char* sid_string;
-	char *sid_str;
+	const char* sid_string = NULL;
+	char *sid_str = NULL;
 
 	/* lookup name? */
 	if (IS_SID_STRING(name)) {
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index ddf8c46..110b149 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -831,7 +831,7 @@ void winbindd_pam_auth(struct winbindd_cli_state *state)
 	    ||NT_STATUS_EQUAL(name_map_status, NT_STATUS_FILE_RENAMED)) {
 		fstrcpy(mapped_user, mapped);
 	} else {
-		fstrcpy(mapped_user, state->request.data.auth.user);
+		fstrcpy(mapped_user, state->request->data.auth.user);
 	}
 
 	if (!canonicalize_username(mapped_user, name_domain, name_user)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list