diff --git a/SOURCES/mod_fcgid-2.3.9-1024-env-vars.patch b/SOURCES/mod_fcgid-2.3.9-1024-env-vars.patch new file mode 100644 index 0000000..41b9998 --- /dev/null +++ b/SOURCES/mod_fcgid-2.3.9-1024-env-vars.patch @@ -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]; diff --git a/SPECS/mod_fcgid.spec b/SPECS/mod_fcgid.spec index 0573dcb..a4da2d7 100644 --- a/SPECS/mod_fcgid.spec +++ b/SPECS/mod_fcgid.spec @@ -34,7 +34,7 @@ Name: mod_fcgid Version: 2.3.9 -Release: 16%{?dist} +Release: 17%{?dist} Summary: FastCGI interface module for Apache 2 Group: System Environment/Daemons License: ASL 2.0 @@ -53,6 +53,7 @@ Patch1: mod_fcgid-2.3.9-r1847623.patch Patch2: mod_fcgid-2.3.9-r1848298.patch Patch3: mod_fcgid-2.3.9-r1847624.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) BuildRequires: httpd-devel >= 2.0, pkgconfig Requires: httpd-mmn = %{_httpd_mmn} @@ -126,6 +127,7 @@ cp -p %{SOURCE12} fastcgi.fc %patch2 -p1 -b .r1848298 %patch3 -p1 -b .r1847624 %patch4 -p1 -b .r1848311 +%patch5 -p1 -b .1024_env_vars %build APXS=%{_httpd_apxs} ./configure.apxs @@ -232,6 +234,10 @@ exit 0 %endif %changelog +* Mon Dec 07 2020 Lubos Uhliarik - 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 - 2.3.9-16 - restrict symbol exports in mod_fcgid.so (#1655035)