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
commit17a46eb2f59d2aa581270d361bd7373815d5455a (patch)
tree70e23c8bc3bb03d54b0620468aea485a7acbdd9b /dev-php/mod_php
parentNew upstream version. (diff)
downloadgentoo-2-17a46eb2f59d2aa581270d361bd7373815d5455a.tar.gz
gentoo-2-17a46eb2f59d2aa581270d361bd7373815d5455a.tar.bz2
gentoo-2-17a46eb2f59d2aa581270d361bd7373815d5455a.zip
Fix bug in Apache2 SAPI.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'dev-php/mod_php')
-rw-r--r--dev-php/mod_php/ChangeLog7
-rw-r--r--dev-php/mod_php/Manifest6
-rw-r--r--dev-php/mod_php/files/php4.3.11-session_save_path-segf.patch2
-rw-r--r--dev-php/mod_php/files/php4.4.0-session_save_path-segf.patch2
4 files changed, 11 insertions, 6 deletions
diff --git a/dev-php/mod_php/ChangeLog b/dev-php/mod_php/ChangeLog
index 576ff54714bb..31eadea7b5d8 100644
--- a/dev-php/mod_php/ChangeLog
+++ b/dev-php/mod_php/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-php/mod_php
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/ChangeLog,v 1.284 2005/11/04 12:12:57 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/mod_php/ChangeLog,v 1.285 2005/11/04 13:00:23 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.
*mod_php-4.4.0-r9 (04 Nov 2005)
*mod_php-4.4.0-r8 (04 Nov 2005)
diff --git a/dev-php/mod_php/Manifest b/dev-php/mod_php/Manifest
index 56c9ccbabba3..5546dc5fa109 100644
--- a/dev-php/mod_php/Manifest
+++ b/dev-php/mod_php/Manifest
@@ -1,4 +1,4 @@
-MD5 3812c371806dc741ce8974c0733cdfc2 ChangeLog 50437
+MD5 fd9ecaf0c839a69bec94b062c275af78 ChangeLog 50611
MD5 158cb07377a3e2a0028947b0aeb505cb files/4.3.10-r1/70_mod_php.conf 1017
MD5 2dfe55aa49dbca0c3316e859f8bebcb1 files/4.3.11-r2/70_mod_php.conf 1125
MD5 389638f1d46b6c41cd4d87b471572f4b files/4.4.0-a1/70_mod_php.conf 484
@@ -29,7 +29,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
@@ -38,7 +38,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 90610a0b9cdbcbec3cd33fcef432e00c mod_php-4.3.11-r1.ebuild 7127
MD5 3e4b2d8a6ea6c859ef96e9de3aed8b81 mod_php-4.3.11-r3.ebuild 8053
diff --git a/dev-php/mod_php/files/php4.3.11-session_save_path-segf.patch b/dev-php/mod_php/files/php4.3.11-session_save_path-segf.patch
index 3836776b14b4..65886a2488e6 100644
--- a/dev-php/mod_php/files/php4.3.11-session_save_path-segf.patch
+++ b/dev-php/mod_php/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/mod_php/files/php4.4.0-session_save_path-segf.patch b/dev-php/mod_php/files/php4.4.0-session_save_path-segf.patch
index 8f936ae5ec39..2c712b0da2d6 100644
--- a/dev-php/mod_php/files/php4.4.0-session_save_path-segf.patch
+++ b/dev-php/mod_php/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();
+ }