bind9/bin/dig
Aram Sargsyan 1290863c22 Fix a crash in dig NS search mode
In special NS search mode, after the initial lookup, dig starts the
followup lookup with discovered NS servers in the queries list. If one
of those queries then fail, dig, as usual, tries to start the next query
in the list, which results in a crash, because the NS search mode is
special in a way that the queries are running in parallel, so the next
query is usually already started.

Apply some special logic in `recv_done()` function to deal with the
described situation when handling the query result for the NS search
mode. Particularly, print a warning message for the failed query,
and do not try to start the next query in the list. Also, set a non-zero
exit code if all the queries in the followup lookup fail.
2022-06-14 13:20:25 +00:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c Add missing plain HTTP options to dig's help output 2022-03-28 16:22:53 +03:00
dig.rst Add hyperlinks to dig/mdig/delv +options 2022-04-26 12:43:13 +02:00
dighost.c Fix a crash in dig NS search mode 2022-06-14 13:20:25 +00:00
dighost.h Fix a crash in dig NS search mode 2022-06-14 13:20:25 +00:00
host.c Initialize printed buffer 2022-04-29 11:22:40 +10:00
host.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
Makefile.am Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
nslookup.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
nslookup.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
readline.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00