bind9/bin/rndc
Michał Kępień d1d721aae1 rndc: prevent crashing after receiving a signal
If isc_app_run() gets interrupted by a signal, the global 'rndc_task'
variable may already be detached from (set to NULL) by the time the
outstanding netmgr callbacks are run.  This triggers an assertion
failure in isc_task_shutdown().  However, explicitly calling
isc_task_shutdown() from rndc code is redundant because it does not use
isc_task_onshutdown() and the task_shutdown() function gets
automatically called anyway when the task manager gets destroyed (after
isc_app_run() returns).  Remove the redundant isc_task_shutdown() calls
to prevent crashes after receiving a signal.
2022-01-19 14:30:17 +01:00
..
include Drop unused headers 2020-11-11 10:08:12 +01:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
rndc.c rndc: prevent crashing after receiving a signal 2022-01-19 14:30:17 +01:00
rndc.conf Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rndc.conf.rst Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
rndc.rst Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
util.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00