backend/spacewalk-backend.spec | 6 +++++-
backend/spacewalk/common/rhn_rpm.py | 4 +++-
rel-eng/packages/spacewalk-backend | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
New commits:
commit a51c683585402a7f706e043b4c654e8eaa7ea913
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Wed Feb 2 12:09:40 2011 +0100
Automatic commit of package [spacewalk-backend] release [1.3.53-1].
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec
index 87d8aad..373eeee 100644
--- a/backend/spacewalk-backend.spec
+++ b/backend/spacewalk-backend.spec
@@ -11,7 +11,7 @@ Name: spacewalk-backend
Summary: Common programs needed to be installed on the Spacewalk servers/proxies
Group: Applications/Internet
License: GPLv2 and Python
-Version: 1.3.52
+Version: 1.3.53
Release: 1%{?dist}
URL:
https://fedorahosted.org/spacewalk
Source0:
https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
@@ -684,6 +684,10 @@ rm -f %{rhnconf}/rhnSecret.py*
# $Id$
%changelog
+* Wed Feb 02 2011 Tomas Lestach <tlestach(a)redhat.com> 1.3.53-1
+- 671464 - prevent unsigned rpms not to be recognized as rpms
+ (tlestach(a)redhat.com)
+
* Fri Jan 28 2011 Michael Mraka <michael.mraka(a)redhat.com> 1.3.52-1
- 671465 - fixed signature import
diff --git a/rel-eng/packages/spacewalk-backend b/rel-eng/packages/spacewalk-backend
index d3654e7..24c4491 100644
--- a/rel-eng/packages/spacewalk-backend
+++ b/rel-eng/packages/spacewalk-backend
@@ -1 +1 @@
-1.3.52-1 backend/
+1.3.53-1 backend/
commit 49c3af6d61207a30b454b0f26f8cd19ac4cbc336
Author: Tomas Lestach <tlestach(a)redhat.com>
Date: Wed Feb 2 12:07:17 2011 +0100
671464 - prevent unsigned rpms not to be recognized as rpms
diff --git a/backend/spacewalk/common/rhn_rpm.py b/backend/spacewalk/common/rhn_rpm.py
index d35d0dd..86d89c7 100644
--- a/backend/spacewalk/common/rhn_rpm.py
+++ b/backend/spacewalk/common/rhn_rpm.py
@@ -163,8 +163,10 @@ class RPM_Header:
]
for ht, sig_type in header_tags:
ret = self.hdr[ht]
+ if not ret:
+ continue
ret_len = len(ret)
- if not ret or ret_len < 17:
+ if ret_len < 17:
continue
# Get the key id - hopefully we get it right
elif ret_len <= 65: # V3 DSA signature