[SCM] Samba Shared Repository - branch v3-6-test updated
Karolin Seeger
kseeger at samba.org
Tue Jun 14 12:03:41 MDT 2011
The branch, v3-6-test has been updated
via b843d0e s3-utils: fix crash in net cache get
from 4380549 Remove Samba4-specific documentation from the 3.6 release tree
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit b843d0eb5112e6bd4290100f28639ec3644d6944
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
(cherry picked from commit 7639684f273e33e2b7f26660b3ec9d3f9979c5a7)
Fix bug #8231 (crash in net cache get).
-----------------------------------------------------------------------
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