rpms/bind/devel bind-9.5-update.patch, NONE, 1.1 bind.spec, 1.205, 1.206

Adam Tkac (atkac) fedora-extras-commits at redhat.com
Tue Aug 14 09:43:58 UTC 2007


Author: atkac

Update of /cvs/pkgs/rpms/bind/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18681

Modified Files:
	bind.spec 
Added Files:
	bind-9.5-update.patch 
Log Message:
- named could crash with SRV record UPDATE (#251336)


bind-9.5-update.patch:

--- NEW FILE bind-9.5-update.patch ---
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);


Index: bind.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bind/devel/bind.spec,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -r1.205 -r1.206
--- bind.spec	13 Aug 2007 16:06:46 -0000	1.205
+++ bind.spec	14 Aug 2007 09:43:25 -0000	1.206
@@ -22,7 +22,7 @@
 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 @@
 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 @@
 %endif
 %patch73 -p1 -b .libidn
 %patch74 -p1 -b .memory
+%patch75 -p1 -b .update
 :;
 
 
@@ -680,6 +682,9 @@
 %{_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)




More information about the fedora-extras-commits mailing list