[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2704-g43891c3
Jeremy Allison
jra at samba.org
Thu Jul 10 17:10:50 GMT 2008
The branch, v3-2-test has been updated
via 43891c397849ccc9c64e5252b6c0350beb754087 (commit)
from 719ec00949094b7d3b01e9ac829183ae08f46417 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 43891c397849ccc9c64e5252b6c0350beb754087
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jul 10 18:20:30 2008 +0200
Fix some uninitialized variable references via ndr_print
-----------------------------------------------------------------------
Summary of changes:
source/passdb/pdb_ldap.c | 4 +++-
source/rpc_client/init_lsa.c | 2 ++
2 files changed, 5 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index deed2ce..1101877 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -4636,7 +4636,9 @@ static bool ldapgroup2displayentry(struct ldap_search_state *state,
DEBUG(0,("unkown group type: %d\n", group_type));
return False;
}
-
+
+ result->acct_flags = 0;
+
return True;
}
diff --git a/source/rpc_client/init_lsa.c b/source/rpc_client/init_lsa.c
index 2637158..9777f27 100644
--- a/source/rpc_client/init_lsa.c
+++ b/source/rpc_client/init_lsa.c
@@ -26,6 +26,8 @@
void init_lsa_String(struct lsa_String *name, const char *s)
{
name->string = s;
+ name->size = 2 * strlen_m(s);
+ name->length = name->size;
}
/*******************************************************************
--
Samba Shared Repository
More information about the samba-cvs
mailing list