[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue Mar 17 18:42:03 MDT 2015


The branch, master has been updated
       via  eb0d6b9 Ensure we always initialise the winbind context
      from  fdb16dd lib: talloc: tests - add test_pthread_talloc_passing() testing talloc in a pthread environment.

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


- Log -----------------------------------------------------------------
commit eb0d6b9999d08c98d51322918b97e9cb9b006279
Author: Matthew Newton <matthew-git at newtoncomputing.co.uk>
Date:   Tue Mar 17 00:56:12 2015 +0000

    Ensure we always initialise the winbind context
    
    Stops segfault when a context is passed. Internal Samba code will
    currently always call this with NULL so won't trigger the bug.
    
    Signed-off-by: Matthew Newton <matthew-git at newtoncomputing.co.uk>
    Reviewed-by: Volker Lendecke <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Wed Mar 18 01:41:32 CET 2015 on sn-devel-104

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

Summary of changes:
 nsswitch/wb_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/wb_common.c b/nsswitch/wb_common.c
index 02aab9c..036557a 100644
--- a/nsswitch/wb_common.c
+++ b/nsswitch/wb_common.c
@@ -746,7 +746,7 @@ NSS_STATUS winbindd_priv_request_response(struct winbindd_context *ctx,
 {
 	NSS_STATUS status = NSS_STATUS_UNAVAIL;
 	int count = 0;
-	struct winbindd_context *wb_ctx;
+	struct winbindd_context *wb_ctx = ctx;
 
 	if (ctx == NULL) {
 		wb_ctx = &wb_global_ctx;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list