summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-12-16 14:18:05 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-12-16 14:46:18 -0500
commit273e5d2b64c02f5a264be52c3055f318ae800377 (patch)
treea6f44a097d19d6f5bca21d348e6f364a6d716216
parent8e84378f94a7ef289585e756e529cad5088e17b9 (diff)
downloadsssd-273e5d2b64c02f5a264be52c3055f318ae800377.tar.gz
sssd-273e5d2b64c02f5a264be52c3055f318ae800377.tar.bz2
sssd-273e5d2b64c02f5a264be52c3055f318ae800377.zip
Use of uninitialized value in sss_ldap_dn_in_search_bases
https://fedorahosted.org/sssd/ticket/1112
-rw-r--r--src/util/sss_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/sss_ldap.c b/src/util/sss_ldap.c
index dcaa579a..dbccc94a 100644
--- a/src/util/sss_ldap.c
+++ b/src/util/sss_ldap.c
@@ -480,9 +480,9 @@ bool sss_ldap_dn_in_search_bases(TALLOC_CTX *mem_ctx,
int basedn_len, dn_len;
int len_diff;
int i, j;
- bool base_confirmed;
- bool comma_found;
- bool backslash_found;
+ bool base_confirmed = false;
+ bool comma_found = false;
+ bool backslash_found = false;
char *filter = NULL;
bool ret = false;