[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Tue Jul 20 12:36:21 MDT 2010
The branch, master has been updated
via dc443ee... s3: Fix two uninitialized variables
from 7d17bfc... Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit() as this correctly describes what this function does.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit dc443ee6e9e97c08bcceaa1cbc155635e73e8118
Author: Volker Lendecke <vl at samba.org>
Date: Tue Jul 20 21:54:45 2010 +0200
s3: Fix two uninitialized variables
-----------------------------------------------------------------------
Summary of changes:
source3/lib/tldap.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c
index 31ca540..56cd870 100644
--- a/source3/lib/tldap.c
+++ b/source3/lib/tldap.c
@@ -1081,7 +1081,7 @@ static int tldap_hex2char(const char *x)
{
if (isxdigit(x[0]) && isxdigit(x[1])) {
const char h1 = x[0], h2 = x[1];
- int c;
+ int c = 0;
if (h1 >= 'a') c = h1 - (int)'a' + 10;
else if (h1 >= 'A') c = h1 - (int)'A' + 10;
@@ -1305,7 +1305,7 @@ static bool tldap_push_filter_basic(struct tldap_context *ld,
const char *dn;
const char *rule;
const char *star;
- size_t type_len;
+ size_t type_len = 0;
char *uval;
size_t uval_len;
bool write_octect = true;
--
Samba Shared Repository
More information about the samba-cvs
mailing list