diff options
| author | Adam Tkac <atkac@fedoraproject.org> | 2007-08-14 09:43:25 +0000 |
|---|---|---|
| committer | Adam Tkac <atkac@fedoraproject.org> | 2007-08-14 09:43:25 +0000 |
| commit | bac865a82b5d13b00c40a214671a9ebd99eb62a4 (patch) | |
| tree | 23f2e31d602fb5dbc9841f57598222746f0f66f4 | |
| parent | aa5064f344631e00bf5493df1c8714df0716976a (diff) | |
- named could crash with SRV record UPDATE (#251336)
| -rw-r--r-- | bind-9.5-update.patch | 15 | ||||
| -rw-r--r-- | bind.spec | 9 |
2 files changed, 22 insertions, 2 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); @@ -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 :; @@ -401,7 +403,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.205 2007/08/13 16:06:46 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.206 2007/08/14 09:43:25 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: @@ -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) |
