summaryrefslogtreecommitdiffstats
path: root/src/resolv
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-11-27 15:51:05 -0500
committerJakub Hrozek <jhrozek@redhat.com>2012-12-06 11:22:25 +0100
commitc594c2e6423420c968761b0c95cec57441bbdcf4 (patch)
treedbb49af146ad41d3c40f31b6abf0cc798b7f3e66 /src/resolv
parentf935805d67c3fef6c1660e446927993321a36eca (diff)
downloadsssd-c594c2e6423420c968761b0c95cec57441bbdcf4.tar.gz
sssd-c594c2e6423420c968761b0c95cec57441bbdcf4.tar.xz
sssd-c594c2e6423420c968761b0c95cec57441bbdcf4.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/resolv')
0 files changed, 0 insertions, 0 deletions