Commit b049b8ce authored by Tatuya JINMEI 神明達哉's avatar Tatuya JINMEI 神明達哉
Browse files

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

			[RT #18430]
parent 57f8a60b
2418. [bug] AXFR request on a DLZ could trigger a REQUIRE failure
[RT #18430]
2417. [bug] Connecting UDP sockets for outgoing queries could
unexpectedly fail with an 'address already in use'
error. [RT #18411]
......
......@@ -15,7 +15,7 @@
* 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>
......@@ -1333,7 +1333,8 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_client_t *client, unsigned int id,
xfr->zone = NULL;
xfr->db = 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_attachversion(db, ver, &xfr->ver);
xfr->end_of_stream = ISC_FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment