com php-src: Don't try to eliminate requre/include with stream wrappers: ext/opcache/ZendAccelerator.c

From: Date: Tue, 19 Feb 2019 13:54:51 +0000
Subject: com php-src: Don't try to eliminate requre/include with stream wrappers: ext/opcache/ZendAccelerator.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-104732@lists.php.net to get a copy of this message
Commit: 1f2dc0492d5f1fc1b5a0a5368e90f6e9685bbaea Author: Dmitry Stogov <dmitry@zend.com> Tue, 19 Feb 2019 16:54:51 +0300 Parents: 440cdf7837d7eb99dc292542672f8107b92ee1ec Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1f2dc0492d5f1fc1b5a0a5368e90f6e9685bbaea Log: Don't try to eliminate requre/include with stream wrappers Changed paths: M ext/opcache/ZendAccelerator.c Diff: diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 3c61782..38e60c5 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -3533,6 +3533,9 @@ static void preload_link(void) static zend_string *preload_resolve_path(zend_string *filename) { + if (is_stream_path(ZSTR_VAL(filename))) { + return NULL; + } return zend_resolve_path(ZSTR_VAL(filename), ZSTR_LEN(filename)); }

« previous php.cvs (#104732) next »