[SCM] Samba Shared Repository - branch master updated

Jim McDonough jmcd at samba.org
Fri Dec 4 10:44:54 MST 2009


The branch, master has been updated
       via  265e4df... s3: bug #6967: Prevent glibc error on net ads join: talloc()ed memory should not be SAFE_FREE()ed.
      from  02fe863... s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.

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


- Log -----------------------------------------------------------------
commit 265e4dfbb614398cffc5619a9800fc85f96e5438
Author: Jim McDonough <jmcd at samba.org>
Date:   Fri Dec 4 12:31:53 2009 -0500

    s3: bug #6967: Prevent glibc error on net ads join:
    talloc()ed memory should not be SAFE_FREE()ed.
    
    Signed-off-by: Jim McDonough <jmcd at samba.org>

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

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


Changeset truncated at 500 lines:

diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index bb8d43c..4005ed6 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -2089,7 +2089,7 @@ ADS_STATUS ads_move_machine_acct(ADS_STRUCT *ads, const char *machine_name,
 done:
 	ads_msgfree(ads, res);
 	SAFE_FREE(filter);
-	SAFE_FREE(computer_dn);
+	TALLOC_FREE(computer_dn);
 	SAFE_FREE(computer_rdn);
 
 	if (!ADS_ERR_OK(rc)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list