#
7e6616ca |
| 02-Oct-2024 |
Arnaud Le Blanc |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: [ci skip] NEWS for GH-16025 Fix assertion failure in generator dtor (#16025)
|
#
6e55f4df |
| 02-Oct-2024 |
Arnaud Le Blanc |
Fix assertion failure in generator dtor (#16025) |
#
f551a719 |
| 28-Aug-2024 |
Arnaud Le Blanc |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: [ci skip] NEWS for GH-15330 Do not scan generator frames more than once (#15330)
|
#
cd255007 |
| 28-Aug-2024 |
Arnaud Le Blanc |
Do not scan generator frames more than once (#15330) |
#
ba9f65ba |
| 10-Aug-2024 |
Arnaud Le Blanc |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: [ci skip] NEWS for GH-15275 Fix crash during GC of suspended generator delegate (#15275)
|
#
c767fec2 |
| 10-Aug-2024 |
Arnaud Le Blanc |
Fix crash during GC of suspended generator delegate (#15275) |
#
e24101ac |
| 30-Jul-2024 |
Arnaud Le Blanc |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: [ci skip] NEWS Fix destruction of generator running in fibers during shutdown (#15158)
|
#
99e0d3fe |
| 30-Jul-2024 |
Arnaud Le Blanc |
Fix destruction of generator running in fibers during shutdown (#15158) The destructor of generators is a no-op when the generator is running in a fiber, because the fiber may resume the
Fix destruction of generator running in fibers during shutdown (#15158) The destructor of generators is a no-op when the generator is running in a fiber, because the fiber may resume the generator. Normally the destructor is not called in this case, but this can happen during shutdown. We detect that a generator is running in a fiber with the ZEND_GENERATOR_IN_FIBER flag. This change fixes two cases not handled by this mechanism: - The ZEND_GENERATOR_IN_FIBER flag was not added when resuming a "yield from $nonGenerator" - When a generator that is running in a fiber has multiple children (aka multiple generators yielding from it), all of them could be considered to also run in a fiber (only one actually is), and could leak if not destroyed before shutdown.
show more ...
|
#
d98586b6 |
| 01-Jun-2024 |
Bob Weinand |
Merge branch 'PHP-8.2' into PHP-8.3
|
#
be7f3aa4 |
| 01-Jun-2024 |
Bob Weinand |
Fix GH-14387: Crash when stack walking in destructor of yielded from values during Generator->throw() |
#
a44acde7 |
| 15-Apr-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.2' * PHP-8.2: Fix GH-11028: Heap Buffer Overflow in zval_undefined_cv.
|
#
17993273 |
| 15-Apr-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-11028: Heap Buffer Overflow in zval_undefined_cv.
|
#
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. |
#
e8d16fda |
| 13-Feb-2023 |
Bob Weinand |
Merge branch 'PHP-8.2'
|
#
0e31e03b |
| 13-Feb-2023 |
Bob Weinand |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
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> |
#
8076ca2b |
| 30-Jan-2023 |
Bob Weinand |
Merge branch 'PHP-8.2'
|
#
f732486c |
| 30-Jan-2023 |
Bob Weinand |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
00be6e1a |
| 30-Jan-2023 |
Bob Weinand |
Look at executing generator for fiber destructor behaviour |
#
1679235f |
| 30-Jan-2023 |
Bob Weinand |
Merge branch 'PHP-8.2'
|
#
e746b89b |
| 30-Jan-2023 |
Bob Weinand |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
b9bca2da |
| 30-Jan-2023 |
Bob Weinand |
Fix resetting ZEND_GENERATOR_IN_FIBER flag Signed-off-by: Bob Weinand <bobwei9@hotmail.com> |
#
479b47c6 |
| 27-Jan-2023 |
Arnaud Le Blanc |
Merge branch 'PHP-8.2' * PHP-8.2: [ci skip] NEWS [ci skip] NEWS Fix overflow check in OnUpdateMemoryConsumption (#10456) Prevent dtor of generator in suspended fiber
Merge branch 'PHP-8.2' * PHP-8.2: [ci skip] NEWS [ci skip] NEWS Fix overflow check in OnUpdateMemoryConsumption (#10456) Prevent dtor of generator in suspended fiber (#10462)
show more ...
|
#
6c22dea3 |
| 27-Jan-2023 |
Arnaud Le Blanc |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: [ci skip] NEWS Fix overflow check in OnUpdateMemoryConsumption (#10456) Prevent dtor of generator in suspended fiber (#10462)
|
#
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 ...
|