import mod_fcgid-2.3.9-17.el8

This commit is contained in:
CentOS Sources 2021-05-18 02:50:07 -04:00 committed by Andrew Lukoshko
parent 4afc2bc468
commit ca3237ca00
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,13 @@
diff --git a/modules/fcgid/fcgid_conf.h b/modules/fcgid/fcgid_conf.h
index 47d68bb..44da00e 100644
--- a/modules/fcgid/fcgid_conf.h
+++ b/modules/fcgid/fcgid_conf.h
@@ -139,7 +139,7 @@ typedef struct {
*/
#define INITENV_KEY_LEN 64
#define INITENV_VAL_LEN 256
-#define INITENV_CNT 64
+#define INITENV_CNT 1024
typedef struct {
char initenv_key[INITENV_CNT][INITENV_KEY_LEN];
char initenv_val[INITENV_CNT][INITENV_VAL_LEN];

View File

@ -34,7 +34,7 @@
Name: mod_fcgid Name: mod_fcgid
Version: 2.3.9 Version: 2.3.9
Release: 16%{?dist} Release: 17%{?dist}
Summary: FastCGI interface module for Apache 2 Summary: FastCGI interface module for Apache 2
Group: System Environment/Daemons Group: System Environment/Daemons
License: ASL 2.0 License: ASL 2.0
@ -53,6 +53,7 @@ Patch1: mod_fcgid-2.3.9-r1847623.patch
Patch2: mod_fcgid-2.3.9-r1848298.patch Patch2: mod_fcgid-2.3.9-r1848298.patch
Patch3: mod_fcgid-2.3.9-r1847624.patch Patch3: mod_fcgid-2.3.9-r1847624.patch
Patch4: mod_fcgid-2.3.9-r1848311.patch Patch4: mod_fcgid-2.3.9-r1848311.patch
Patch5: mod_fcgid-2.3.9-1024-env-vars.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildRequires: httpd-devel >= 2.0, pkgconfig BuildRequires: httpd-devel >= 2.0, pkgconfig
Requires: httpd-mmn = %{_httpd_mmn} Requires: httpd-mmn = %{_httpd_mmn}
@ -126,6 +127,7 @@ cp -p %{SOURCE12} fastcgi.fc
%patch2 -p1 -b .r1848298 %patch2 -p1 -b .r1848298
%patch3 -p1 -b .r1847624 %patch3 -p1 -b .r1847624
%patch4 -p1 -b .r1848311 %patch4 -p1 -b .r1848311
%patch5 -p1 -b .1024_env_vars
%build %build
APXS=%{_httpd_apxs} ./configure.apxs APXS=%{_httpd_apxs} ./configure.apxs
@ -232,6 +234,10 @@ exit 0
%endif %endif
%changelog %changelog
* Mon Dec 07 2020 Lubos Uhliarik <luhliari@redhat.com> - 2.3.9-17
- Resolves: #1876525 - mod_fcgid does not pass more than 64 variables to an FCGI
server process environment
* Thu Dec 13 2018 Joe Orton <jorton@redhat.com> - 2.3.9-16 * Thu Dec 13 2018 Joe Orton <jorton@redhat.com> - 2.3.9-16
- restrict symbol exports in mod_fcgid.so (#1655035) - restrict symbol exports in mod_fcgid.so (#1655035)