1
0
mirror of https://github.com/php/php-src.git synced 2026-04-10 01:23:53 +02:00
Files
archived-php-src/ext
Dmitry Stogov 45cb3f917a Fix a memory leak in tracig JIT when the same closure is called through Closure::call() and natively.
Closure::call() makes a temporary copy of original closure function, modifies its
scope, resets ZEND_ACC_CLOSURE flag and call it through zend_call_function().
As result the same function may be called with and without
ZEND_ACC_CLOSURE flag, that confuses JIT and may lead to memory leak or
even worse memory errors.

The patch allocates "fake" closure object and keep ZEND_ACC_CLOSURE flag
to always behave in the same way.
2022-11-21 17:41:16 +03:00
..
2022-10-27 14:42:17 +01:00
2022-11-02 09:43:40 +00:00
2022-10-27 14:42:17 +01:00
2022-11-03 14:37:59 +01:00
2022-10-24 15:02:55 +02:00
2022-10-21 00:05:35 -06:00
2022-09-27 23:32:37 +02:00
2022-09-06 10:34:10 +01:00
2022-11-13 11:05:28 +01:00
2022-09-27 18:45:54 +02:00
2022-10-13 16:08:34 +02:00
2022-09-29 15:01:39 +03:00