The branch, v4-3-test has been updated
       via  af1fe52 nss_wins: Use lp_global_no_reinit()
      from  1f29432 s3: winbind: Prevent null ptr access by returning error if 
no creds available

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-3-test


- Log -----------------------------------------------------------------
commit af1fe52e7dcb65ed380279a1ffcd7fa8538d52f0
Author: Andreas Schneider <a...@samba.org>
Date:   Fri Oct 23 15:28:23 2015 +0200

    nss_wins: Use lp_global_no_reinit()
    
    This avoids that we run into use after free issues when we access memory
    allocated on the globals and the global being reinitialized.
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=11563
    
    Signed-off-by: Andreas Schneider <a...@samba.org>
    Reviewed-by: Volker Lendecke <v...@samba.org>
    (cherry picked from commit 0abbfb2e4d5bcd847983ef7981840f1eab7b917c)
    
    Autobuild-User(v4-3-test): Karolin Seeger <ksee...@samba.org>
    Autobuild-Date(v4-3-test): Tue Nov 17 14:42:19 CET 2015 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/nsswitch/wins.c b/nsswitch/wins.c
index 735a9a2..587ec30 100644
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -52,7 +52,7 @@ static void nss_wins_init(void)
 
        TimeInit();
        setup_logging("nss_wins",False);
-       lp_load_global(get_dyn_CONFIGFILE());
+       lp_load_global_no_reinit(get_dyn_CONFIGFILE());
        load_interfaces();
 }
 


-- 
Samba Shared Repository

Reply via email to