[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4120 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Fri Oct 15 15:28:09 CEST 2010


Author: matthijs
Date: 2010-10-15 15:28:08 +0200 (Fri, 15 Oct 2010)
New Revision: 4120

Modified:
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
count_RR should be larger than zero



Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-15 12:08:29 UTC (rev 4119)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-15 13:28:08 UTC (rev 4120)
@@ -403,7 +403,8 @@
             } else if (rrset->rr_type == LDNS_RR_TYPE_A ||
                 rrset->rr_type == LDNS_RR_TYPE_AAAA) {
                 /* check if glue is allowed at the delegation */
-                if (rrset_examine_ns_rdata(rrset, domain->name) != 0) {
+                if (rrset_count_RR(rrset) > 0 &&
+                    rrset_examine_ns_rdata(rrset, domain->name) != 0) {
                     return 1;
                 }
             }




More information about the Opendnssec-commits mailing list