History log of /PHP-8.3/ext/standard/tests/serialize/gh15169.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# f3e87e2a 22-Oct-2024 Arnaud Le Blanc

Fix tests: Prevent stack overflow during dtor

On s390x the stack is smaller and/or the object dtor code uses more stack,
which causes the destruction of deeply nested objects to crash in

Fix tests: Prevent stack overflow during dtor

On s390x the stack is smaller and/or the object dtor code uses more stack,
which causes the destruction of deeply nested objects to crash in these
tests. Here I ensure that objects are released one by one at the end of the
tests to avoid recursive dtor.

Closes GH-16561
Fixes GH-16528

show more ...


# 612a6ad0 04-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Use standard error message for stack limit in serialize()

With GH-16204 merged, we can use the standard error message for the
recently-merged GH-16159.

Closes GH-16225.


# bd724bdf 01-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-15169: stack overflow when var serialization in ext/standard/var

Adding a stack check here as I consider serialization to be a more
sensitive place where erroring out with an exce

Fix GH-15169: stack overflow when var serialization in ext/standard/var

Adding a stack check here as I consider serialization to be a more
sensitive place where erroring out with an exception seems appropriate.

Closes GH-16159.

show more ...