mirror of https://github.com/c-ares/c-ares.git
If a blank DNS name is used, the DNS query cache would fail due to an invalid sanity check. This can be legitimate such as: adig -t SOA . This fixes that situation as well as a few other spots that were uncovered and adds a test case to validate the behavior to ensure it won't regress in the future. Fixes #858 Reported-By: Nodar Chkuaselidze (@nodech) Authored-By: Brad House (@bradh352)pull/863/head
parent
5b70955d51
commit
083d6c9c0f
5 changed files with 38 additions and 6 deletions
Loading…
Reference in new issue