1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 04:02:19 +02:00
Files
archived-php-src/ext/opcache/tests/jit
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
..
2021-11-10 20:21:07 +03:00
2021-12-20 12:48:48 +03:00
2022-01-28 13:08:11 +03:00
2022-07-25 12:04:46 +03:00
2021-05-18 15:32:26 +03:00
2021-05-18 15:32:26 +03:00
2021-10-06 12:10:39 +03:00
2022-01-11 13:02:55 +03:00
2022-03-14 12:57:37 +03:00
2022-05-30 11:32:17 +03:00
2022-08-29 14:36:16 +03:00
2022-11-14 12:35:09 +03:00
2022-01-10 16:05:40 +03:00
2022-01-10 21:53:35 +03:00
2022-02-11 13:03:36 +03:00
2022-02-28 18:25:49 +03:00
2022-03-21 12:50:30 +03:00
2022-01-10 16:37:49 +03:00
2022-02-28 15:43:03 +03:00
2021-10-05 16:14:39 +03:00
2021-11-10 12:49:20 +03:00
2021-11-17 13:59:35 +03:00
2021-09-13 17:23:57 +02:00
2021-07-21 14:51:36 +03:00
2021-07-19 14:53:09 +03:00
2021-07-19 10:51:10 +03:00
2021-07-21 19:43:00 +03:00
2021-07-19 12:14:55 +03:00
2021-07-20 22:21:10 +03:00
2021-07-20 16:32:24 +02:00
2021-06-17 13:05:45 +03:00
2021-10-07 15:27:56 +03:00
2021-05-18 15:32:27 +03:00
2021-09-30 13:01:56 +03:00
2021-12-28 16:56:23 +03:00
2021-12-28 16:56:23 +03:00
2022-10-25 13:03:55 +02:00
2021-10-20 10:38:47 +03:00
2022-04-18 11:34:18 +03:00
2021-05-18 15:32:27 +03:00
2021-09-22 15:32:19 +02:00
2021-11-12 22:48:50 +03:00
2022-03-25 16:54:50 +03:00
2021-11-17 12:48:56 +03:00
2021-12-03 11:13:50 +03:00
2022-04-11 12:17:05 +03:00
2021-09-28 23:49:26 +03:00
2021-10-06 16:35:33 +03:00
2021-05-18 15:32:26 +03:00
2021-05-18 15:32:26 +03:00
2022-02-11 12:05:57 +03:00
2022-02-28 13:48:53 +03:00
2022-03-14 09:48:58 +03:00
2022-07-25 15:24:26 +03:00