summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-24 15:37:38 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-24 11:42:38 -0400
commit621c0a33924a8b1a657b552dd609a551a79a7aea (patch)
treeaecc59fd02c0606f8bcc30c2df2e1e9b6579b213 /src
parentb0c83f802761ffd9098c76a4d87c64892d5a4813 (diff)
downloadsssd-621c0a33924a8b1a657b552dd609a551a79a7aea.tar.gz
sssd-621c0a33924a8b1a657b552dd609a551a79a7aea.tar.xz
sssd-621c0a33924a8b1a657b552dd609a551a79a7aea.zip
Fix uninitialized pointer read in sdap_x_deref_parse_entry
https://fedorahosted.org/sssd/ticket/877
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index 0c354ae78..5594dd551 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -1388,7 +1388,7 @@ static errno_t sdap_x_deref_parse_entry(struct sdap_handle *sh,
LDAPControl **next = NULL;
LDAPControl **start = NULL;
LDAPControl *derefctrl = NULL;
- LDAPDerefRes *deref_res;
+ LDAPDerefRes *deref_res = NULL;
LDAPDerefRes *dref;
struct sdap_deref_attrs **res;
TALLOC_CTX *tmp_ctx;