1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 11:42:17 +02:00
Files
archived-php-src/ext/standard/tests/serialize
Christoph M. Becker ca265eb545 Fix #78438: Corruption when __unserializing deeply nested structures
When storing two temporary variables for delayed __unserialize() calls,
we have to make sure that both fit into the same linked list element.
To that end we introduce the internal API `tmp_var` which allows to
reserve `num` slots in the same list element.

We also fix the `var_dtor_entries` struct definition to use the proper
size, namely `VAR_DTOR_ENTRIES_MAX`.
2019-08-23 11:41:06 +02:00
..
2019-04-09 17:27:02 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:46:15 +02:00
2017-02-03 18:52:57 +01:00
2017-09-11 12:38:20 +02:00
2017-02-03 18:52:57 +01:00
2017-02-03 18:52:57 +01:00
2017-01-01 21:11:01 +01:00
2018-07-02 17:27:43 +02:00
2017-09-11 12:38:20 +02:00
2017-07-04 19:06:16 -07:00
2017-03-23 22:06:46 +01:00
2017-09-11 12:38:20 +02:00
2017-08-12 13:11:35 +02:00