summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-07-29 03:58:24 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-07-29 03:58:24 +0000
commitbd8e4ba97f9343055392e0c83b84134c845ea038 (patch)
tree112a8bf6661d53ef63da1f5e2a5ad155a896aa87 /usr.sbin
parent0c80f161d91da98d9f5bc0f25b480fb82e763c4c (diff)
apply patch for https://www.isc.org/node/474 since jakob does not
appear to be around.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bind/bin/named/update.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/bind/bin/named/update.c b/usr.sbin/bind/bin/named/update.c
index 4a8cbec6f75..f6795567408 100644
--- a/usr.sbin/bind/bin/named/update.c
+++ b/usr.sbin/bind/bin/named/update.c
@@ -861,7 +861,11 @@ temp_check(isc_mem_t *mctx, dns_diff_t *temp, dns_db_t *db,
if (type == dns_rdatatype_rrsig ||
type == dns_rdatatype_sig)
covers = dns_rdata_covers(&t->rdata);
- else
+ else if (type == dns_rdatatype_any) {
+ dns_db_detachnode(db, &node);
+ dns_diff_clear(&trash);
+ return (DNS_R_NXRRSET);
+ } else
covers = 0;
/*