mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-09 17:50:52 -04:00
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. |
||
|---|---|---|
| .. | ||
| include | ||
| .gitignore | ||
| Makefile.am | ||
| rndc.c | ||
| rndc.conf | ||
| rndc.conf.rst | ||
| rndc.rst | ||
| util.c | ||
| util.h | ||