ff5934c IPA: Handle bad results from c-ares lookup

1 file Authored by sgallagh 7 years ago , Committed by jhrozek 7 years ago ,
    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.