1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00
Files
archived-php-src/ext
Niels Dossche 1cdcbc05b0 Fix GH-11972: RecursiveCallbackFilterIterator regression in 8.1.18
When you do an assignment between two zvals (no, not zval*), you copy
all fields. This includes the additional u2 data. So that means for
example the Z_NEXT index gets copied, which in some cases can therefore
cause a cycle in zend_hash lookups.
Instead of doing an assignment, we should be doing a ZVAL_COPY (or
ZVAL_COPY_VALUE for non-refcounting cases). This avoids copying u2.

Closes GH-12086.
2023-08-30 22:30:59 +02:00
..
2022-06-25 07:39:55 +01:00
2022-07-27 12:13:32 +02:00
2023-08-30 22:20:51 +02:00
2022-09-13 11:33:09 +01:00
2023-07-18 19:21:13 +02:00
2023-08-19 23:09:22 +01:00
2023-08-17 18:45:10 +01:00
2023-03-27 16:33:36 +02:00
2023-08-30 22:20:51 +02:00
2023-08-03 21:48:34 +02:00
2023-03-27 16:33:36 +02:00
2023-08-30 22:20:51 +02:00
2023-03-01 23:02:03 +01:00
2023-03-27 16:33:36 +02:00
2023-07-31 19:53:43 +01:00
2023-07-31 19:53:43 +01:00
2023-08-01 11:41:13 +02:00