]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
call to dns_fixedname_init() was missing from previous pullup, causing
authorAndreas Gustafsson <source@isc.org>
Sat, 23 Sep 2000 00:24:29 +0000 (00:24 +0000)
committerAndreas Gustafsson <source@isc.org>
Sat, 23 Sep 2000 00:24:29 +0000 (00:24 +0000)
lwresd to catch an assertion failure

lib/dns/byaddr.c

index 1e8a8024d9be5af4da74256e1cc408f9ae3dfb93..7c9ea8523439f92445cb586ecba1abb3bf31f75a 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: byaddr.c,v 1.16.2.1 2000/09/21 22:07:21 gson Exp $ */
+/* $Id: byaddr.c,v 1.16.2.2 2000/09/23 00:24:29 gson Exp $ */
 
 #include <config.h>
 
@@ -411,6 +411,8 @@ dns_byaddr_create(isc_mem_t *mctx, isc_netaddr_t *address, dns_view_t *view,
        if (result != ISC_R_SUCCESS)
                goto cleanup_event;
 
+       dns_fixedname_init(&byaddr->name);
+
        result = dns_byaddr_createptrname(address,
                          ISC_TF(byaddr->options & DNS_BYADDROPT_IPV6NIBBLE),
                          dns_fixedname_name(&byaddr->name));