* Wed May 16 2012 Paul Wouters <pwouters@redhat.com> - 1.4.0-0.a1.3

- Patch for crasher with deleted RRsets and NSEC3/OPTOUT chains
This commit is contained in:
Paul Wouters 2012-05-16 11:43:00 -04:00
parent f49c13480c
commit 5a22ec6422
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -Naur opendnssec-1.4.0a1-orig/signer/src/signer/namedb.c opendnssec-1.4.0a1/signer/src/signer/namedb.c
--- opendnssec-1.4.0a1-orig/signer/src/signer/namedb.c 2012-03-15 13:25:45.000000000 -0400
+++ opendnssec-1.4.0a1/signer/src/signer/namedb.c 2012-05-16 11:32:52.123793809 -0400
@@ -834,7 +834,7 @@
if (!denial || !db || !db->denials) {
return NULL;
}
- if (denial->rrset->rr_count) {
+ if (denial->rrset && denial->rrset->rr_count) {
ods_log_error("[%s] unable to delete denial: denial in use [#%u]",
db_str, denial->rrset->rr_count);
log_dname(denial->dname, "ERR -DENIAL", LOG_ERR);

View File

@ -1,7 +1,7 @@
Summary: DNSSEC key and zone management software
Name: opendnssec
Version: 1.4.0
Release: 0.a1%{?dist}.2
Release: 0.a1%{?dist}.3
License: BSD
Url: http://www.opendnssec.org/
#Source: http://www.opendnssec.org/files/source/% {name}-% {version}a1.tar.gz
@ -12,6 +12,7 @@ Source3: ods.sysconfig
Source4: conf.xml
Source5: tmpfiles-opendnssec.conf
Source6: opendnssec-LICENSE
Patch1: opendnssec-1.4.0a1-deleterr.patch
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: opencryptoki, softhsm, systemd-units
@ -30,6 +31,7 @@ name server. It requires a PKCS#11 crypto module library, such as softhsm
%prep
%setup -q -n %{name}-%{version}a1
%patch1 -p1 -b deleterr
%build
%configure --with-ldns=%{_libdir}
@ -118,6 +120,9 @@ if [ $1 -ge 1 ] ; then
fi
%changelog
* Wed May 16 2012 Paul Wouters <pwouters@redhat.com> - 1.4.0-0.a1.3
- Patch for crasher with deleted RRsets and NSEC3/OPTOUT chains
* Mon Mar 26 2012 Paul Wouters <pwouters@redhat.com> - 1.4.0-0.a1.2
- Added opendnssec LICENSE file from trunk (Thanks Jakob!)