summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_auth.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-11-27 15:51:05 -0500
committerJakub Hrozek <jhrozek@redhat.com>2012-12-02 21:57:48 +0100
commitff5934cbe9c02ca3e3d2a851460339f3126202b7 (patch)
treef4855a4f98905a02e032e8ad844d4d64611d14a2 /src/providers/ldap/ldap_auth.c
parentb510d909cbe8d8216b60ee070730dd5c41294303 (diff)
downloadsssd-ff5934cbe9c02ca3e3d2a851460339f3126202b7.tar.gz
sssd-ff5934cbe9c02ca3e3d2a851460339f3126202b7.tar.bz2
sssd-ff5934cbe9c02ca3e3d2a851460339f3126202b7.zip
IPA: Handle bad results from c-ares lookup
In some situations, the c-ares lookup can return NULL instead of a list of addresses. In this situation, we need to avoid dereferencing NULL. This patch adds a log message and sets the count to zero so it is handled appropriately below.
Diffstat (limited to 'src/providers/ldap/ldap_auth.c')
0 files changed, 0 insertions, 0 deletions