[SCM] Samba Shared Repository - branch master updated

Christian Ambach ambi at samba.org
Tue Jun 14 04:02:02 MDT 2011


The branch, master has been updated
       via  7639684 s3-utils: fix crash in net cache get
      from  d575b2b samba-tool: disable validation on removing an empty attribute in dbcheck

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


- Log -----------------------------------------------------------------
commit 7639684f273e33e2b7f26660b3ec9d3f9979c5a7
Author: Christian Ambach <ambi at samba.org>
Date:   Tue Jun 14 09:09:07 2011 +0200

    s3-utils: fix crash in net cache get
    
    free the blob correctly
    
    Autobuild-User: Christian Ambach <ambi at samba.org>
    Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_cache.c b/source3/utils/net_cache.c
index 88aff4e..afcb7a1 100644
--- a/source3/utils/net_cache.c
+++ b/source3/utils/net_cache.c
@@ -244,7 +244,7 @@ static int net_cache_get(struct net_context *c, int argc, const char **argv)
 
 	if (gencache_get_data_blob(keystr, &value, &timeout, NULL)) {
 		print_cache_entry(keystr, value, timeout, NULL);
-		SAFE_FREE(value.data);
+		data_blob_free(&value);
 		return 0;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list