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

2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure

[RT #18430]
This commit is contained in:
Tatuya JINMEI 神明達哉 2008-08-15 19:36:49 +00:00
parent 57f8a60b21
commit b049b8ce6a
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure
[RT #18430]
2417. [bug] Connecting UDP sockets for outgoing queries could 2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use' unexpectedly fail with an 'address already in use'
error. [RT #18411] error. [RT #18411]

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: xfrout.c,v 1.128 2008/04/03 06:09:04 tbox Exp $ */ /* $Id: xfrout.c,v 1.129 2008/08/15 19:36:49 jinmei Exp $ */
#include <config.h> #include <config.h>
@ -1333,7 +1333,8 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id,
xfr->zone = NULL; xfr->zone = NULL;
xfr->db = NULL; xfr->db = NULL;
xfr->ver = NULL; xfr->ver = NULL;
dns_zone_attach(zone, &xfr->zone); if (zone != NULL) /* zone will be NULL if it's DLZ */
dns_zone_attach(zone, &xfr->zone);
dns_db_attach(db, &xfr->db); dns_db_attach(db, &xfr->db);
dns_db_attachversion(db, ver, &xfr->ver); dns_db_attachversion(db, ver, &xfr->ver);
xfr->end_of_stream = ISC_FALSE; xfr->end_of_stream = ISC_FALSE;