mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 10:02:07 -04:00
1121. [bug] The server could attempt to access a NULL zone
table if shutting down while resolving.
[RT #1587, #2054]
This commit is contained in:
parent
2edb8bce12
commit
138cc7f283
2 changed files with 10 additions and 1 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
1121. [bug] The server could attempt to access a NULL zone
|
||||
table if shutting down while resolving.
|
||||
[RT #1587, #2054]
|
||||
|
||||
1120. [bug] Errors in options were not fatal. [RT #2002]
|
||||
|
||||
1119. [func] Added support in Win32 for NTFS file/directory ACL's
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.230 2001/11/12 19:05:31 gson Exp $ */
|
||||
/* $Id: resolver.c,v 1.231 2001/11/14 01:01:28 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -4062,6 +4062,11 @@ resquery_response(isc_task_t *task, isc_event_t *event) {
|
|||
truncated = ISC_FALSE;
|
||||
finish = NULL;
|
||||
|
||||
if (fctx->res->exiting) {
|
||||
result = ISC_R_SHUTTINGDOWN;
|
||||
goto done;
|
||||
}
|
||||
|
||||
fctx->timeouts = 0;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue