bind9/bin/dig
Aram Sargsyan 906525642d dighost.c: don't call check_if_done() twice successively
The check_if_done() function can pass control back out to
dighost_shutdown() (which is part of dig.c, host.c, or nslookup.c),
and calling that twice can cause unexpected problems, if it is not
designed to be idempotent.

Since cancel_lookup() calls check_if_done() implicitly, don't call
check_if_done() again when 'next' is NULL.

(cherry picked from commit e4604b71d2)
2023-05-10 11:41:35 +00:00
..
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
dig.c Cleanup OpenSSL reference on bad option 2023-02-16 22:31:52 +00:00
dig.rst remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
dighost.c dighost.c: don't call check_if_done() twice successively 2023-05-10 11:41:35 +00:00
dighost.h Cleanup OpenSSL reference on bad option 2023-02-16 22:31:52 +00:00
host.c Remember that the port was set in host and nslookup 2022-12-06 09:21:43 +11:00
host.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +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 Remember that the port was set in host and nslookup 2022-12-06 09:21:43 +11:00
nslookup.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +01:00
readline.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00