Blame SOURCES/yum-rhn-plugin-2.0.1-6-el7-to-yum-rhn-plugin-2.0.1-7-el7.patch

9630d3
diff --git a/rhnplugin.py b/rhnplugin.py
9630d3
index a2681c2..8f1cba0 100644
9630d3
--- a/rhnplugin.py
9630d3
+++ b/rhnplugin.py
9630d3
@@ -427,7 +427,7 @@ class RhnRepo(YumRepository):
9630d3
             # but we have to send and empty X-RHN-Auth-User-Id ...
9630d3
             AuthUserH = 'X-RHN-Auth-User-Id'
9630d3
             if (AuthUserH in self.http_headers and not self.http_headers[AuthUserH]):
9630d3
-                self.http_headers[AuthUserH] = "\nX-libcurl-Empty-Header-Workaround: *"
9630d3
+                self.http_headers[AuthUserH] = "\r\nX-libcurl-Empty-Header-Workaround: *"
9630d3
 
9630d3
         # Turn our dict into a list of 2-tuples
9630d3
         headers = YumRepository._YumRepository__headersListFromDict(self)   # pylint: disable-msg=E1101
9630d3
diff --git a/yum-rhn-plugin.spec b/yum-rhn-plugin.spec
9630d3
index 1ced7dc..83c64d8 100644
9630d3
--- a/yum-rhn-plugin.spec
9630d3
+++ b/yum-rhn-plugin.spec
9630d3
@@ -1,7 +1,7 @@
9630d3
 Summary: Spacewalk support for yum
9630d3
 Name: yum-rhn-plugin
9630d3
 Version: 2.0.1
9630d3
-Release: 6%{?dist}
9630d3
+Release: 7%{?dist}
9630d3
 License: GPLv2
9630d3
 Group: System Environment/Base
9630d3
 Source0: https://fedorahosted.org/releases/s/p/spacewalk/%{name}-%{version}.tar.gz
9630d3
@@ -70,6 +70,10 @@ fi
9630d3
 %doc LICENSE
9630d3
 
9630d3
 %changelog
9630d3
+* Mon Feb 20 2017 Tomas Kasparek <tkasparek@redhat.com> 2.0.1-7
9630d3
+- Resolves: #1423007 - request failed: error reading the headers
9630d3
+  (CVE-2016-8743) (pstudeni@redhat.com)
9630d3
+
9630d3
 * Mon Jul 25 2016 Tomas Kasparek <tkasparek@redhat.com> 2.0.1-6
9630d3
 - Resolves: #1359087 - expect additional arguments (tkasparek@redhat.com)
9630d3