diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-24 15:37:38 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-05-24 11:42:38 -0400 |
commit | 621c0a33924a8b1a657b552dd609a551a79a7aea (patch) | |
tree | aecc59fd02c0606f8bcc30c2df2e1e9b6579b213 /src | |
parent | b0c83f802761ffd9098c76a4d87c64892d5a4813 (diff) | |
download | sssd-621c0a33924a8b1a657b552dd609a551a79a7aea.tar.gz sssd-621c0a33924a8b1a657b552dd609a551a79a7aea.tar.bz2 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index 0c354ae7..5594dd55 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; |