Commit e7d32e57 authored by Mark Andrews's avatar Mark Andrews
Browse files

2125. [bug] dns_zone_getzeronosoattl() REQUIRE failure if DLZ

                        was defined. [RT #16574]
parent ca48338b
2125. [bug] dns_zone_getzeronosoattl() REQUIRE failure if DLZ
was defined. [RT #16574]
2124. [bug] It was possible to dereference a freed fetch
context. [RT #16584]
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: query.c,v 1.290 2006/12/07 04:38:56 marka Exp $ */
/* $Id: query.c,v 1.291 2007/01/08 00:54:15 marka Exp $ */
/*! \file */
......@@ -3877,6 +3877,9 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
* resolver and not have it cached.
*/
if (qtype == dns_rdatatype_soa &&
#ifdef DLZ
zone != NULL &&
#endif
dns_zone_getzeronosoattl(zone))
result = query_addsoa(client, db, version, ISC_TRUE);
else
......
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