mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 06:37:42 -04:00
785. [bug] A race condition in the resolver could cause
an assertion failure. [RT #673, #872, #1048]
This commit is contained in:
parent
4ade12133c
commit
b879ed05f4
2 changed files with 6 additions and 1 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
|
||||
785. [bug] A race condition in the resolver could cause
|
||||
an assertion failure. [RT #673, #872, #1048]
|
||||
|
||||
784. [bug] nsupdate and other programs would not quit properly
|
||||
if some signals were blocked by the caller. [RT #1081]
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: resolver.c,v 1.212 2001/03/16 21:50:59 bwelling Exp $ */
|
||||
/* $Id: resolver.c,v 1.213 2001/03/20 22:13:00 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -553,6 +553,7 @@ fctx_done(fetchctx_t *fctx, isc_result_t result) {
|
|||
LOCK(&res->buckets[fctx->bucketnum].lock);
|
||||
|
||||
fctx->state = fetchstate_done;
|
||||
fctx->attributes &= ~FCTX_ATTR_ADDRWAIT;
|
||||
fctx_sendevents(fctx, result);
|
||||
|
||||
UNLOCK(&res->buckets[fctx->bucketnum].lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue