URL:
https://github.com/SSSD/sssd/pull/5452
Title: #5452: RESOLV: handle fail of ares_parse_*_reply() properly
alexey-tikhonov commented:
"""
Note: I don't handle case `((hostent != NULL) && (status != ARES_SUCCESS))`
intentionally as this most probably would indicate bug in c-ares and it's better to
leak memory than to segfault (as we can't make any assumptions about content of
`hostent` in this case).
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5452#issuecomment-756947920