summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2005-11-04 13:00:23 +0000
committerLuca Longinotti <chtekk@gentoo.org>2005-11-04 13:00:23 +0000
commit71812c6a24319d984567a82d3cb99b600edd0d17 (patch)
tree283681e6ca40a87c1610dd39fc44a15f6df9ac55 /dev-php/php-cgi
parentNew upstream version. (diff)
downloadhistorical-71812c6a24319d984567a82d3cb99b600edd0d17.tar.gz
historical-71812c6a24319d984567a82d3cb99b600edd0d17.tar.bz2
historical-71812c6a24319d984567a82d3cb99b600edd0d17.zip
Fix bug in Apache2 SAPI.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'dev-php/php-cgi')
-rw-r--r--dev-php/php-cgi/ChangeLog7
-rw-r--r--dev-php/php-cgi/Manifest6
-rw-r--r--dev-php/php-cgi/files/php4.3.11-session_save_path-segf.patch2
-rw-r--r--dev-php/php-cgi/files/php4.4.0-session_save_path-segf.patch2
4 files changed, 11 insertions, 6 deletions
diff --git a/dev-php/php-cgi/ChangeLog b/dev-php/php-cgi/ChangeLog
index b96df0907ebe..13c348111dea 100644
--- a/dev-php/php-cgi/ChangeLog
+++ b/dev-php/php-cgi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php/php-cgi
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.107 2005/11/04 12:11:00 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php-cgi/ChangeLog,v 1.108 2005/11/04 12:57:28 chtekk Exp $
+
+ 04 Nov 2005; Luca Longinotti <chtekk@gentoo.org>
+ files/php4.3.11-session_save_path-segf.patch,
+ files/php4.4.0-session_save_path-segf.patch:
+ Fix bug in Apache2 SAPI.
*php-cgi-4.4.0-r5 (04 Nov 2005)
*php-cgi-4.3.11-r5 (04 Nov 2005)
diff --git a/dev-php/php-cgi/Manifest b/dev-php/php-cgi/Manifest
index e6e94e9e8831..20a11091acd0 100644
--- a/dev-php/php-cgi/Manifest
+++ b/dev-php/php-cgi/Manifest
@@ -1,4 +1,4 @@
-MD5 1175687dc920787f11020bbc244ff8e6 ChangeLog 16021
+MD5 f37c3bc785f987ab077fcd74539cad53 ChangeLog 16195
MD5 cc21a816357d93a1d31cd44f861183c7 files/digest-php-cgi-4.3.11-r1 287
MD5 05df4c881b1833626d9a75a08a0098fd files/digest-php-cgi-4.3.11-r2 364
MD5 05df4c881b1833626d9a75a08a0098fd files/digest-php-cgi-4.3.11-r4 364
@@ -18,7 +18,7 @@ MD5 47a031979331eeb527d0918d2c38cdbe files/php4.3.11-imap-symlink.diff 1238
MD5 a9b932952f12aa01a9f98a7fcbf32ed9 files/php4.3.11-pcre-security.patch 6031
MD5 43b4113d1fb159955b0d5ed307cac143 files/php4.3.11-phpinfo_xss.patch 2518
MD5 48d9c939434e9b01d0696410d59c503c files/php4.3.11-pspell-ext-segf.patch 8482
-MD5 17b906361a7ab8a3008446871623eeae files/php4.3.11-session_save_path-segf.patch 4938
+MD5 2646498369dc5c64c318ee6da2f9487a files/php4.3.11-session_save_path-segf.patch 4961
MD5 0429f8334ba4bab659a2e41ce5debc80 files/php4.4.0-curl_safemode.patch 1937
MD5 cb36a386184ed6a887f62d2205f57173 files/php4.4.0-fopen_wrappers.patch 1481
MD5 a540c54ba22dc16b157edcf1ecb6258f files/php4.4.0-gd_safe_mode.patch 883
@@ -27,7 +27,7 @@ MD5 4c86d8ed96f2bb38b94e826c1f028c80 files/php4.4.0-imap-symlink.diff 1238
MD5 54a4ad0766f89185d7de2c6d07b07296 files/php4.4.0-pcre-security.patch 6177
MD5 57644300fb52ad610fa52ae8ba6b522b files/php4.4.0-phpinfo_xss.patch 1284
MD5 48d9c939434e9b01d0696410d59c503c files/php4.4.0-pspell-ext-segf.patch 8482
-MD5 83fb9efb602c178741ea2e40e13b014f files/php4.4.0-session_save_path-segf.patch 4132
+MD5 3d3986815e0e06adce512b36959e6f26 files/php4.4.0-session_save_path-segf.patch 4155
MD5 38fe937e954ab7109395cefa86fcd2d4 metadata.xml 384
MD5 ff97ecdd5c6b9744c3770bf335bb1157 php-cgi-4.3.11-r1.ebuild 1116
MD5 f03786f41f7eb2be4bf8854c52d09f97 php-cgi-4.3.11-r2.ebuild 1866
diff --git a/dev-php/php-cgi/files/php4.3.11-session_save_path-segf.patch b/dev-php/php-cgi/files/php4.3.11-session_save_path-segf.patch
index 3836776b14b4..65886a2488e6 100644
--- a/dev-php/php-cgi/files/php4.3.11-session_save_path-segf.patch
+++ b/dev-php/php-cgi/files/php4.3.11-session_save_path-segf.patch
@@ -138,7 +138,7 @@
+ if (!parent_req) {
+ parent_req = ctx->r;
+ }
-+ if (parent_req && strcmp(parent_req->handler, PHP_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SCRIPT)) {
++ if (parent_req && parent_req->handler && strcmp(parent_req->handler, PHP_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SCRIPT)) {
+ if (php_apache_request_ctor(r, ctx TSRMLS_CC)!=SUCCESS) {
+ zend_bailout();
+ }
diff --git a/dev-php/php-cgi/files/php4.4.0-session_save_path-segf.patch b/dev-php/php-cgi/files/php4.4.0-session_save_path-segf.patch
index 8f936ae5ec39..2c712b0da2d6 100644
--- a/dev-php/php-cgi/files/php4.4.0-session_save_path-segf.patch
+++ b/dev-php/php-cgi/files/php4.4.0-session_save_path-segf.patch
@@ -111,7 +111,7 @@
+ if (!parent_req) {
+ parent_req = ctx->r;
+ }
-+ if (parent_req && strcmp(parent_req->handler, PHP_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SCRIPT)) {
++ if (parent_req && parent_req->handler && strcmp(parent_req->handler, PHP_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SOURCE_MAGIC_TYPE) && strcmp(parent_req->handler, PHP_SCRIPT)) {
+ if (php_apache_request_ctor(r, ctx TSRMLS_CC)!=SUCCESS) {
+ zend_bailout();
+ }