Attached is a patch to make c-ares stop crashing when ares_parse_srv_reply parses a reply containing non-SRV answers. There are still other problems with the SRV code, which I hope to fix in subsequent patches.
-- Larry Lansing