#
ed27d70d |
| 17-Jul-2023 |
Ilija Tovilo |
Fix use-of-uninitialized-value in start_fake_frame Closes GH-11732
|
#
7202fe16 |
| 27-Feb-2023 |
Ilija Tovilo |
Fix GH-10709: UAF in recursive AST evaluation Fixes https://oss-fuzz.com/testcase-detail/6445949468934144 Closes GH-10718
|
#
ad85e714 |
| 03-Mar-2023 |
Kévin Dunglas |
fix: support for timeouts with ZTS on Linux (#10141)
|
#
adc23828 |
| 02-Dec-2022 |
Arnaud Le Blanc |
Fallback to first line of function when ex->opline is NULL (#10003) ex->opline can be null due to missing SAVE_OPLINE() in the VM Fixes GH-9933
|
#
01d84545 |
| 31-May-2022 |
Sara Golemon |
Verify internal types before abandoning call frame An internal caller executing a builtin method with a static return type will lose context if we drop our frame before performing th
Verify internal types before abandoning call frame An internal caller executing a builtin method with a static return type will lose context if we drop our frame before performing the validation.
show more ...
|
Revision tags: php-8.1.7RC1 |
|
#
510061b5 |
| 03-May-2022 |
Máté Kocsis |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix get_function_or_method_name when included file is scoped
|
#
74924ada |
| 03-May-2022 |
vajexal <72415539+vajexal@users.noreply.github.com> |
Fix get_function_or_method_name when included file is scoped (#8467) |
#
cbbf3502 |
| 07-Mar-2022 |
Bob Weinand |
Fix GH-8176: Fix leaking enum values in property initializers |
Revision tags: php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0 |
|
#
76548e50 |
| 17-Nov-2021 |
Dmitry Stogov |
Fixed bug #81607 (CE_CACHE allocation with concurrent access) |
Revision tags: php-7.3.33 |
|
#
812df2bd |
| 12-Nov-2021 |
Cameron Porter |
Fix bug #81611 Add zend_fetch_class_with_scope() which accepts a scope to use for self/parent, and use that during constant expression evaluation. Closes GH-7649. |
#
d9ff09a3 |
| 16-Nov-2021 |
Nikita Popov |
Extract code for reporting a zend_fetch_class() error |
Revision tags: php-7.3.32 |
|
#
ac70bb36 |
| 01-Oct-2021 |
Nikita Popov |
Don't populate CE_CACHE during compilation It's possible for CE_CACHE slots to be populated during compilation (e.g. due to an early binding attempt). When opcache then persists the
Don't populate CE_CACHE during compilation It's possible for CE_CACHE slots to be populated during compilation (e.g. due to an early binding attempt). When opcache then persists the class, it clears the CE_CACHE slot for the class name as declared, but not for different spellings (that only differ in case). As such, a pointer to the old, non-persistent class entry may be retained. Fix this by not populating CE_CACHE if in_compilation is set. Closes GH-7542.
show more ...
|
Revision tags: php-7.3.31 |
|
#
c7fdf9c1 |
| 01-Sep-2021 |
Dmitry Stogov |
Avoid class name validation if it's already have IS_STR_CLASS_NAME_MAP_PTR flag. |
Revision tags: php-7.3.30 |
|
#
cecea72a |
| 16-Aug-2021 |
Nikita Popov |
Reuse parts of normal executor shutdown for preloading preloading currently reimplements parts of shutdown_executor(), so it's easy for that code to go out of sync. Extract this
Reuse parts of normal executor shutdown for preloading preloading currently reimplements parts of shutdown_executor(), so it's easy for that code to go out of sync. Extract this into an zend_shutdown_executor_values() API function and use it as part of the preloading pre-shutdown.
show more ...
|
#
87559763 |
| 16-Aug-2021 |
Nikita Popov |
Fix arginfo/zpp consistency check for call_user_func from strict_types scope This was using the wrong strict_types information. In this case the call is performed with strict_types=0. |
#
b5746a4c |
| 29-Jul-2021 |
Nikita Popov |
Drop HAS_UNLINKED_USES flag Instead always use the unlinked_uses table, which is already used if opcache is used. Not much point in having a different mechanism for the non-opcache c
Drop HAS_UNLINKED_USES flag Instead always use the unlinked_uses table, which is already used if opcache is used. Not much point in having a different mechanism for the non-opcache case.
show more ...
|
#
89d01154 |
| 23-Jul-2021 |
Nikita Popov |
Remove zend_cleanup_internal_classes() If fast_shutdown is used, then we don't need to destroy static members at all. If fast_shutdown is not used, then we already loop over classes
Remove zend_cleanup_internal_classes() If fast_shutdown is used, then we don't need to destroy static members at all. If fast_shutdown is not used, then we already loop over classes to destroy static members and static variables in methods.
show more ...
|
#
ae8647d9 |
| 20-Jul-2021 |
Levi Morrison |
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(.
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(...) Also add serializable changes to UPGRADING.INTERNALS summary
show more ...
|
#
ee65e920 |
| 13-Jul-2021 |
Nikita Popov |
Check internal function type consistency in zend_call_function We do this for calls in the engine, but not those going through zend_call_function(). |
Revision tags: php-7.3.29 |
|
#
aff36587 |
| 29-Jun-2021 |
Patrick Allaert |
Fixed some spaces used instead of tabs |
#
a65989b1 |
| 05-Jun-2021 |
Martin Schröder <53789145+kooldev@users.noreply.github.com> |
Alternative Fiber Internals Refactoring (#7101) |
#
100a1e8e |
| 28-May-2021 |
Nikita Popov |
Convert exception during inheritance to fatal error Now that inheritance can throw deprecations again, these may be converted to exception by a custom error handler. In this case we
Convert exception during inheritance to fatal error Now that inheritance can throw deprecations again, these may be converted to exception by a custom error handler. In this case we need to convert the exception to a fatal error, as inheritance cannot safely throw in the general case.
show more ...
|
#
dd86987b |
| 29-Apr-2021 |
Nikita Popov |
Replay warnings during inheritance (#6928) Since 3e6b447979a2b1f351faf40bee9c6cf7e362d85a it is again possible to have warnings (deprecations) during inheritance, and more such functiona
Replay warnings during inheritance (#6928) Since 3e6b447979a2b1f351faf40bee9c6cf7e362d85a it is again possible to have warnings (deprecations) during inheritance, and more such functionality is likely in the future. This is a problem, because such warnings will only be shown on the first request if the opcache inheritance cache is used. This currently causes test failures in --repeat builds. Fix this by uplifting the error recording functionality from opcache to Zend, and then using it to persist a warning trace in the inheritance cache, which can then be used to replay the warnings on subsequent executions.
show more ...
|
Revision tags: php-7.3.28 |
|
#
c276c16b |
| 26-Apr-2021 |
Aaron Piotrowski |
Implement Fibers RFC: https://wiki.php.net/rfc/fibers Closes GH-6875. |
#
0fdf668d |
| 15-Apr-2021 |
Dmitry Stogov |
Keep fci->object unchanged |