summaryrefslogtreecommitdiffstats
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
commit0827e93fa66272a2384bd7baa9cb1a625b387f16 (patch)
tree1ef6ab2dced46d9501fe5f6b4e4f09505dd82e88
parentb598411a0b8b0e0092a375de429c0555d3348879 (diff)
downloadbind-0827e93fa66272a2384bd7baa9cb1a625b387f16.tar.gz
bind-0827e93fa66272a2384bd7baa9cb1a625b387f16.tar.xz
bind-0827e93fa66272a2384bd7baa9cb1a625b387f16.zip
- named could crash with SRV record UPDATE (#251336)bind-9_5_0-9_1_a6_fc8
-rw-r--r--bind-9.5-update.patch15
-rw-r--r--bind.spec7
2 files changed, 21 insertions, 1 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);
diff --git a/bind.spec b/bind.spec
index 09b312c..14aa132 100644
--- a/bind.spec
+++ b/bind.spec
@@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: %{BIND_VERSION}
-Release: 9.%{BIND_RELEASE}%{?dist}
+Release: 9.1.%{BIND_RELEASE}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -66,6 +66,7 @@ Patch69: bind-9.5.0-generate-xml.patch
Patch71: bind-9.5-overflow.patch
Patch72: bind-9.5-dlz-64bit.patch
Patch74: bind-9.5-spnego-memory_management.patch
+Patch75: bind-9.5-update.patch
# SDB patches
Patch11: bind-9.3.2b2-sdbsrc.patch
@@ -248,6 +249,7 @@ cp -fp contrib/dbus/{dbus_mgr.h,dbus_service.h} bin/named/include/named
%endif
%patch73 -p1 -b .libidn
%patch74 -p1 -b .memory
+%patch75 -p1 -b .update
:;
@@ -680,6 +682,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/bind-chroot-admin
%changelog
+* Tue Aug 14 2007 Adam Tkac <atkac redhat com> 32:9.5.0 9.1.a6
+- named could crash with SRV record UPDATE (#251336)
+
* Mon Aug 13 2007 Adam Tkac <atkac redhat com> 32:9.5.0-9.a6
- disable 64bit dlz driver patch on alpha and ia64 (#251298)
- remove wrong malloc functions from lib/dns/spnego.c (#251853)