2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

2873. [bug] Canceling a dynamic update via the dns/client module

could trigger an assertion failure. [RT #21133]
This commit is contained in:
Tatuya JINMEI 神明達哉 2010-04-14 22:08:47 +00:00
parent bf766b1599
commit c45d848e2a
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2873. [bug] Canceling a dynamic update via the dns/client module
could trigger an assertion failure. [RT #21133]
2872. [bug] Modify dns/client.c:dns_client_createx() to only 2872. [bug] Modify dns/client.c:dns_client_createx() to only
require one of IPv4 or IPv6 rather than both. require one of IPv4 or IPv6 rather than both.
[RT #21122] [RT #21122]

View File

@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: client.c,v 1.8 2010/04/13 23:50:58 tbox Exp $ */ /* $Id: client.c,v 1.9 2010/04/14 22:08:47 jinmei Exp $ */
#include <config.h> #include <config.h>
@ -2808,9 +2808,9 @@ dns_client_cancelupdate(dns_clientupdatetrans_t *trans) {
if (uctx->soareq != NULL) if (uctx->soareq != NULL)
dns_request_cancel(uctx->soareq); dns_request_cancel(uctx->soareq);
if (uctx->restrans != NULL) if (uctx->restrans != NULL)
dns_client_cancelresolve(&uctx->restrans); dns_client_cancelresolve(uctx->restrans);
if (uctx->restrans2 != NULL) if (uctx->restrans2 != NULL)
dns_client_cancelresolve(&uctx->restrans2); dns_client_cancelresolve(uctx->restrans2);
} }
UNLOCK(&uctx->lock); UNLOCK(&uctx->lock);