History log of /PHP-7.3/ext/opcache/ZendAccelerator.c (Results 1 – 25 of 265)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4e198c00 14-Sep-2020 Christoph M. Becker

Avoid segfault if module/extension version is not defined


# 2d4aa1ef 10-Jul-2020 Sammy Kaye Powers

Fix #79825: opcache.file_cache causes SIGSEGV with custom opcode handlers

Modules may have changed after restart which can cause dangling pointers from custom opcode handlers in the second-l

Fix #79825: opcache.file_cache causes SIGSEGV with custom opcode handlers

Modules may have changed after restart which can cause dangling pointers from custom opcode handlers in the second-level cache files. This fix includes the installed module names and versions in the accel_system_id hash as entropy. Closes GH-5836

show more ...


# fcd26ffc 20-Aug-2020 Christoph M. Becker

Fix #80002: calc free space for new interned string is wrong

We need to calculate the free size in bytes.

Patch contributed by t-matsuno.

Closes GH-6024


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1
# 38f1288b 23-Jul-2019 Nikita Popov

Fix Zend signals unblocking

There are a few parts here:
* opcache should not be blocking signals while invoking compile_file,
otherwise signals may remain blocked on a compile er

Fix Zend signals unblocking

There are a few parts here:
* opcache should not be blocking signals while invoking compile_file,
otherwise signals may remain blocked on a compile error. While at
it, also protect SHM memory during compile_file.
* We should deactivate Zend signals at the end of the request, to make
sure that we gracefully recover from a missing unblock and signals
don't remain blocked forever.
* We don't use a critical section in deactivation, because it should
not be necessary. Additionally we want to clean up the signal queue,
if it is non-empty.
* Enable SIGG(check) in debug builds so we notice issues in the future.

show more ...


Revision tags: php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3, php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1
# a4acff3e 11-Jun-2019 Alex Scott

Fix bug #78138: opcache.validate_permission incorrectly works with PHAR files

opcache incorrectly handles PHAR files when opcache.validate_permission
option enabled, because it calls

Fix bug #78138: opcache.validate_permission incorrectly works with PHAR files

opcache incorrectly handles PHAR files when opcache.validate_permission
option enabled, because it calls

access("phar://path-to/file.phar/path/inside.php", R_OK);

rather than

access("path-to/file.phar", R_OK)

show more ...


# cd6a6e4c 20-Jun-2019 Dmitry Stogov

Fixed bug #78185 (File cache no longer works)


# 28808ca9 14-Jun-2019 Dmitry Stogov

Backport 96a12578c13b5c37195b10526fcdc669b795644d


# 40f463b5 14-Jun-2019 Dmitry Stogov

Backport 91a6cdbff5ebd1ca4db1d6e8c42d3265ce80ace4


# f1a81380 13-Jun-2019 Nikita Popov

Fixed bug #78106

When disabling opcache during the request via opcache.enable ini
setting, make sure we also disable ZCG(accelerator_enabled).


Revision tags: php-7.3.7RC1, php-7.2.20RC1
# 199eb2b1 10-Jun-2019 Dmitry Stogov

Fixed possible misalignment in 32-bit build.


Revision tags: php-7.2.19, php-7.3.6, php-7.1.30
# 8baf3ffd 26-May-2019 Jakub Zelenka

Add fpmi to the opcache supported sapis


# fa6a4483 22-May-2019 Dmitry Stogov

Fixed race condition in opcache restart


Revision tags: php-7.2.19RC1, php-7.3.6RC1
# 5c4d125d 14-May-2019 Dmitry Stogov

Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset


Revision tags: php-7.1.29, php-7.2.18, php-7.3.5
# bfadd9fd 17-Apr-2019 Dmitry Stogov

It's safe to keep old string if it's stored not in SHM.


Revision tags: php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1
# 92227026 12-Feb-2019 Dmitry Stogov

Avoid dependency on "struct flock" fields order.


Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1, php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5
# 9afce019 01-Nov-2018 Zeev Suraski

Future-proof email addresses


# 335fb94d 24-Oct-2018 Dmitry Stogov

Fixed reseting of interned strings buffer.


Revision tags: php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4
# 902d39a3 13-Oct-2018 Peter Kokot

Trim trailing whitespace in source code files


# 7f6387b5 13-Oct-2018 Peter Kokot

Trim trailing whitespace in source code files


Revision tags: php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1
# 8c92442b 16-Aug-2018 Xinchen Hui

Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file)


Revision tags: php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# ca2e9df5 31-May-2018 Anatol Belski

Fix AVX part


# 45d62d9f 30-May-2018 Dmitry Stogov

Use SSE/AVX instructions


# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.


Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 83f98f73 27-Apr-2018 Dmitry Stogov

Don't store values of PHP_SAPI and PHP_BINARY in file cache, because it may be used by different SAPI.


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1
# cb464a53 03-Apr-2018 Dmitry Stogov

Use "fastcall" calling convention


1234567891011