Resolves: #1958882 - mod_fcgid does not pass more than 64 variables to an FCGI
server process environment
This commit is contained in:
parent
e4831decac
commit
92925931b5
13
mod_fcgid-2.3.9-1024-env-vars.patch
Normal file
13
mod_fcgid-2.3.9-1024-env-vars.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/modules/fcgid/fcgid_conf.h b/modules/fcgid/fcgid_conf.h
|
||||
index 60aeee8..f803a6e 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 128
|
||||
-#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];
|
@ -1,6 +1,6 @@
|
||||
Name: mod_fcgid
|
||||
Version: 2.3.9
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Summary: FastCGI interface module for Apache 2
|
||||
License: ASL 2.0
|
||||
URL: http://httpd.apache.org/mod_fcgid/
|
||||
@ -12,6 +12,7 @@ Source5: fcgid24.conf
|
||||
Patch0: mod_fcgid-2.3.4-fixconf-shellbang.patch
|
||||
Patch1: mod_fcgid-2.3.9-segfault-upload.patch
|
||||
Patch2: mod_fcgid-2.3.9-r1848298.patch
|
||||
Patch3: mod_fcgid-2.3.9-1024-env-vars.patch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: httpd-devel >= 2.4
|
||||
@ -41,6 +42,7 @@ cp -p %{SOURCE5} fcgid24.conf
|
||||
|
||||
%patch1 -p1 -b .segfault_upload
|
||||
%patch2 -p1 -b .r1848298
|
||||
%patch3 -p1 -b .1024_env_vars
|
||||
|
||||
%build
|
||||
APXS=%{_httpd_apxs} ./configure.apxs
|
||||
@ -74,6 +76,10 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/mod_fcgid.conf
|
||||
%dir %attr(0775,root,apache) /run/mod_fcgid/
|
||||
|
||||
%changelog
|
||||
* Tue May 18 2021 Lubos Uhliarik <luhliari@redhat.com> - 2.3.9-26
|
||||
- Resolves: #1958882 - mod_fcgid does not pass more than 64 variables to an FCGI
|
||||
server process environment
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3.9-25
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user