diff options
Diffstat (limited to 'dev-lang/php/files/4.4.0/php4.4.0-session_save_path-segf.patch')
-rw-r--r-- | dev-lang/php/files/4.4.0/php4.4.0-session_save_path-segf.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lang/php/files/4.4.0/php4.4.0-session_save_path-segf.patch b/dev-lang/php/files/4.4.0/php4.4.0-session_save_path-segf.patch index 8f936ae5ec39..2c712b0da2d6 100644 --- a/dev-lang/php/files/4.4.0/php4.4.0-session_save_path-segf.patch +++ b/dev-lang/php/files/4.4.0/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(); + } |