summaryrefslogtreecommitdiffstats
path: root/bind-9.5-update.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2007-08-14 09:43:25 +0000
committerAdam Tkac <atkac@fedoraproject.org>2007-08-14 09:43:25 +0000
commit901f542bb6b949a61b36fc97254bffad8acd9f55 (patch)
tree23f2e31d602fb5dbc9841f57598222746f0f66f4 /bind-9.5-update.patch
parentca7c56912632f83b9a9b43f38d367a95efca0545 (diff)
- named could crash with SRV record UPDATE (#251336)
Diffstat (limited to 'bind-9.5-update.patch')
-rw-r--r--bind-9.5-update.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/bind-9.5-update.patch b/bind-9.5-update.patch
new file mode 100644
index 0000000..80eeef6
--- /dev/null
+++ b/bind-9.5-update.patch
@@ -0,0 +1,15 @@
+diff -up bind-9.4.1-P1/lib/dns/message.c.update bind-9.4.1-P1/lib/dns/message.c
+--- bind-9.4.1-P1/lib/dns/message.c.update 2007-08-14 10:53:25.000000000 +0200
++++ bind-9.4.1-P1/lib/dns/message.c 2007-08-14 10:54:52.000000000 +0200
+@@ -1308,6 +1308,11 @@ getsection(isc_buffer_t *source, dns_mes
+ rdata->type = rdtype;
+ rdata->flags = DNS_RDATA_UPDATE;
+ result = ISC_R_SUCCESS;
++ } else if (rdclass == dns_rdataclass_none &&
++ msg->opcode == dns_opcode_update &&
++ sectionid == DNS_SECTION_UPDATE) {
++ result = getrdata(source, msg, dctx, msg->rdclass,
++ rdtype, rdatalen, rdata);
+ } else
+ result = getrdata(source, msg, dctx, rdclass,
+ rdtype, rdatalen, rdata);