[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3608-ga773541
Karolin Seeger
kseeger at samba.org
Fri Jun 12 11:41:39 GMT 2009
The branch, v3-2-test has been updated
via a7735416792f8156e53a04af98e7e2dff0b6707d (commit)
from f2a29585123e6072a75eb9abdd202f99f5a01e1e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit a7735416792f8156e53a04af98e7e2dff0b6707d
Author: Sébastien Prud'homme <sebastien.prudhomme at gmail.com>
Date: Fri Jun 12 09:11:57 2009 +0200
s3/idmap: Fix out of memory error with Winbind idmap.
This fixes bug #5945.
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/idmap.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/idmap.c b/source/winbindd/idmap.c
index d601210..e4fc75a 100644
--- a/source/winbindd/idmap.c
+++ b/source/winbindd/idmap.c
@@ -555,8 +555,12 @@ NTSTATUS idmap_init(void)
* set the destructor for this domain */
talloc_set_destructor(dom, close_domain_destructor);
- dom->params = talloc_strdup(dom, compat_params);
- IDMAP_CHECK_ALLOC(dom->params);
+ if (compat_params) {
+ dom->params = talloc_strdup(dom, compat_params);
+ IDMAP_CHECK_ALLOC(dom->params);
+ } else {
+ dom->params = NULL;
+ }
/* Finally instance a backend copy for this domain */
ret = dom->methods->init(dom);
--
Samba Shared Repository
More information about the samba-cvs
mailing list