Fix "krb5-self" update-policy rule processing.

Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
Adam Tkac 2010-12-20 11:52:54 +01:00
parent 3afaba74d9
commit a0a60a6bd5
2 changed files with 18 additions and 1 deletions

View File

@ -22,7 +22,7 @@ Summary: The Berkeley Internet Name Domain (BIND) DNS (Domain Name System) serv
Name: bind
License: ISC
Version: 9.7.2
Release: 8.%{PATCHVER}%{?dist}
Release: 9.%{PATCHVER}%{?dist}
Epoch: 32
Url: http://www.isc.org/products/BIND/
Buildroot:%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -61,6 +61,7 @@ Patch109:bind97-rh478718.patch
Patch110:bind97-rh570851.patch
Patch111:bind97-exportlib.patch
Patch112:bind97-rh645544.patch
Patch113:bind97-krb5-self.patch
# SDB patches
Patch11: bind-9.3.2b2-sdbsrc.patch
@ -296,6 +297,7 @@ mkdir m4
%patch110 -p1 -b .rh570851
%patch111 -p1 -b .exportlib
%patch112 -p1 -b .rh645544
%patch113 -p1 -b .krb5-self
# Sparc and s390 arches need to use -fPIE
%ifarch sparcv9 sparc64 s390 s390x
@ -764,6 +766,9 @@ rm -rf ${RPM_BUILD_ROOT}
%endif
%changelog
* Mon Dec 20 2010 Adam Tkac <atkac redhat com> 32:9.7.2-9.P3
- fix "krb5-self" update-policy rule processing
* Thu Dec 02 2010 Adam Tkac <atkac redhat com> 32:9.7.2-8.P3
- update to 9.7.2-P3

12
bind97-krb5-self.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up bind-9.7.2-P3/lib/dns/gssapictx.c.krb5-self bind-9.7.2-P3/lib/dns/gssapictx.c
--- bind-9.7.2-P3/lib/dns/gssapictx.c.krb5-self 2010-12-20 11:18:36.459176676 +0100
+++ bind-9.7.2-P3/lib/dns/gssapictx.c 2010-12-20 11:18:42.263376643 +0100
@@ -358,7 +358,7 @@ dst_gssapi_identitymatchesrealmkrb5(dns_
if (rname == NULL)
return (isc_boolean_false);
*rname = '\0';
- rname += 2;
+ rname++;
/*
* Find the host portion of the signer's name. We do this by