#
fc32d39b |
| 08-Apr-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11028: Heap Buffer Overflow in zval_undefined_cv. For analysis see https://github.com/php/php-src/issues/11028#issuecomment-1508460440 Closes GH-11083.
|
#
d721dcc2 |
| 10-Feb-2023 |
Arnaud Le Blanc |
Fix colletion of unfinished function call in fibers Fixes GH-10496. Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
|
#
00be6e1a |
| 30-Jan-2023 |
Bob Weinand |
Look at executing generator for fiber destructor behaviour
|
#
b9bca2da |
| 30-Jan-2023 |
Bob Weinand |
Fix resetting ZEND_GENERATOR_IN_FIBER flag Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
|
#
1173c2e6 |
| 27-Jan-2023 |
Arnaud Le Blanc |
Prevent dtor of generator in suspended fiber (#10462) Generators that suspended a fiber should not be dtor because they will be executed during the fiber dtor. Fiber dtor throws
Prevent dtor of generator in suspended fiber (#10462) Generators that suspended a fiber should not be dtor because they will be executed during the fiber dtor. Fiber dtor throws an exception in the fiber's context in order to unwind and execute finally blocks, which will also properly dtor the generator. Fixes GH-9916
show more ...
|
#
4fb14939 |
| 13-Jan-2023 |
Arnaud Le Blanc |
GC fiber unfinished executions (#9810)
|
#
5d1f3e04 |
| 04-Nov-2022 |
Arnaud Le Blanc |
Fix generator memory leaks when interrupted during argument evaluation (#9756)
|
#
86e1fea3 |
| 14-Oct-2022 |
Arnaud Le Blanc |
Restore extra_named_params when restoring frozen call stack
|
Revision tags: php-8.1.7RC1 |
|
#
e0025562 |
| 04-Apr-2022 |
Bob Weinand |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
9cb512ec |
| 04-Apr-2022 |
Bob Weinand |
Ensure correct target opline for exceptions thrown during yield from Also appends the exception during a yield from values dtor instead of prepending it Fixing regression introduced
Ensure correct target opline for exceptions thrown during yield from Also appends the exception during a yield from values dtor instead of prepending it Fixing regression introduced in 13649451c201361b438ca0f762cfb33dfc3fca39.
show more ...
|
#
16dceded |
| 01-Apr-2022 |
Bob Weinand |
Merge branch 'PHP-8.0' into PHP-8.1
|
#
13649451 |
| 01-Apr-2022 |
Bob Weinand |
Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator This also fixes the fact that exception traces were not including the generator frame when t
Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator This also fixes the fact that exception traces were not including the generator frame when thrown in a yielded from iterator.
show more ...
|
Revision tags: php-8.1.4RC1 |
|
#
ba6bb857 |
| 28-Feb-2022 |
Dmitry Stogov |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix use after free
|
#
01702a85 |
| 28-Feb-2022 |
Dmitry Stogov |
Fix use after free Fixes oss-fuzz #44885 |
#
22328f68 |
| 18-Feb-2022 |
Dmitry Stogov |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Fix memory leak
|
#
84a638a3 |
| 18-Feb-2022 |
Dmitry Stogov |
Fix memory leak Fixes oss-fuzz #44685 |
Revision tags: php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30 |
|
#
6d505d44 |
| 22-Jul-2021 |
Nikita Popov |
Add RETURN/RETVAL_COPY_DEREF() macros These were missing from the set... I think quite a few of these usages don't actually need the DEREF, but I've just kept things as is for n
Add RETURN/RETVAL_COPY_DEREF() macros These were missing from the set... I think quite a few of these usages don't actually need the DEREF, but I've just kept things as is for now.
show more ...
|
#
814a9327 |
| 16-Jul-2021 |
Nikita Popov |
Add ZEND_ACC_NOT_SERIALIZABLE flag This prevents serialization and unserialization of a class and its children in a way that does not depend on the zend_class_serialize_deny and zend
Add ZEND_ACC_NOT_SERIALIZABLE flag This prevents serialization and unserialization of a class and its children in a way that does not depend on the zend_class_serialize_deny and zend_class_unserialize_deny handlers that will be going away in PHP 9 together with the Serializable interface. In stubs, `@not-serializable` can be used to set this flag. This patch only uses the new flag for a handful of Zend classes, converting the remainder is left for later. Closes GH-7249. Fixes bug #81111.
show more ...
|
Revision tags: php-7.3.29 |
|
#
44110262 |
| 04-May-2021 |
Nikita Popov |
Close generator already in dtor phase In the added test case, the Closure ends up being freed before the generator during GC. This patch closes the generator (and thus releases
Close generator already in dtor phase In the added test case, the Closure ends up being freed before the generator during GC. This patch closes the generator (and thus releases the held closure / execute_data) already during dtor_obj, which will avoid ordering issues in free_obj. dtor_obj is not always called, but if it isn't, then we also won't run GC and will free_obj in reverse construction order. Fixes oss-fuzz #33947.
show more ...
|
Revision tags: php-7.3.28 |
|
#
462da6e0 |
| 31-Mar-2021 |
Josh Soref |
Fix spelling and grammar mistakes This PR corrects misspellings identified by the check-spelling action. The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465
Fix spelling and grammar mistakes This PR corrects misspellings identified by the check-spelling action. The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465 The action reports that the changes in this PR would make it happy: jsoref@602417c Closes GH-6822.
show more ...
|
Revision tags: php-7.3.27 |
|
#
1954e597 |
| 26-Jan-2021 |
Máté Kocsis |
Add support for generating class entries from stubs Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> |
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|
Revision tags: php-7.3.26, php-7.3.26RC1 |
|
#
22793884 |
| 03-Dec-2020 |
Nikita Popov |
Remove some INDIRECT handling in VM |
Revision tags: php-7.3.25 |
|
#
a6bcad4a |
| 18-Nov-2020 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Short-circuit get_gc for currently running generator
|
#
bbc0dd40 |
| 18-Nov-2020 |
Nikita Popov |
Merge branch 'PHP-7.4' into PHP-8.0 * PHP-7.4: Short-circuit get_gc for currently running generator
|