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

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