]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
type was uninitalised.
authorMark Andrews <marka@isc.org>
Tue, 18 Feb 2003 03:20:58 +0000 (03:20 +0000)
committerMark Andrews <marka@isc.org>
Tue, 18 Feb 2003 03:20:58 +0000 (03:20 +0000)
lib/dns/resolver.c

index bff1297c1c351ebbfaad1f5b39bfc06cf0896725..6c7dc6933b0ca73ccf863e8a0da3340fa1ed1656 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: resolver.c,v 1.218.2.12.4.2 2003/02/17 07:05:08 marka Exp $ */
+/* $Id: resolver.c,v 1.218.2.12.4.3 2003/02/18 03:20:58 marka Exp $ */
 
 #include <config.h>
 
@@ -3523,6 +3523,9 @@ noanswer_response(fetchctx_t *fctx, dns_name_t *oqname) {
                        for (rdataset = ISC_LIST_HEAD(name->list);
                             rdataset != NULL;
                             rdataset = ISC_LIST_NEXT(rdataset, link)) {
+                               type = rdataset->type;
+                               if (type == dns_rdatatype_sig)
+                                       type = rdataset->covers;
                                if (type == dns_rdatatype_soa ||
                                           type == dns_rdatatype_nxt) {
                                        /*