summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bind-9.4-update.patch15
-rw-r--r--bind.spec9
2 files changed, 22 insertions, 2 deletions
diff --git a/bind-9.4-update.patch b/bind-9.4-update.patch
new file mode 100644
index 0000000..80eeef6
--- /dev/null
+++ b/bind-9.4-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);
diff --git a/bind.spec b/bind.spec
index 5019f1b..d235b4a 100644
--- a/bind.spec
+++ b/bind.spec
@@ -20,7 +20,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: BSD-like
Version: 9.4.1
-Release: 8.%{RELEASEVER}%{?dist}
+Release: 9.%{RELEASEVER}%{?dist}
Epoch: 31
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -76,6 +76,7 @@ Patch66: bind-9.4.0-zone-freeze.patch
Patch67: bind-9.4.0-dbus-race-condition.patch
Patch68: bind-9.4.1-ldap-api.patch
Patch69: bind-9.4-tsig-init.patch
+Patch70: bind-9.4-update.patch
#
Requires: bind-libs = %{epoch}:%{version}-%{release}, glibc >= 2.2, mktemp
Requires(post): grep, chkconfig >= 1.3.26
@@ -304,6 +305,7 @@ popd
%patch65 -p1 -b .idn
%endif
%patch66 -p1 -b .freeze
+%patch70 -p1 -b .update
:;
@@ -465,7 +467,7 @@ for f in my.internal.zone.db slaves/my.slave.internal.zone.db slaves/my.ddns.int
echo '@ in soa localhost. root 1 3H 15M 1W 1D
ns localhost.' > sample/var/named/$f;
done
-/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.188 2007/07/26 15:50:56 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
+/usr/bin/tail -n '+'`/bin/egrep -n '\\$Id: bind.spec,v 1.189 2007/08/14 10:00:47 atkac Exp $/+1/' | bc` bin/rndc/rndc.conf | sed '/Sample rndc configuration file./{p;i\
*\
* NOTE: you only need to create this file if it is to\
* differ from the following default contents:
@@ -789,6 +791,9 @@ rm -rf ${RPM_BUILD_ROOT}
%changelog
+* Wed Aug 14 2007 Adam Tkac <atkac redhat com> 31:9.4.1-9.P1
+- named could crash when deleting SRV record with UPDATE (#251336)
+
* Wed Jul 26 2007 Adam Tkac <atkac redhat com> 31:9.4.1-8.P1
- backported patch to #249701 from BIND's HEAD