History log of /PHP-8.4/Zend/tests/stack_limit/stack_limit_001.phpt (Results 1 – 8 of 8)
Revision Date Author Comments
# 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 ...


# 5c739acb 09-Aug-2024 Ilija Tovilo

[skip ci] Mark stack limit tests with high memory limit as slow


# 0bd26021 03-Jul-2024 Arnaud Le Blanc

Fix stack limit on ASAN/MSAN (#14771)

Increase the reserved stack size in ASAN builds, as instrumentation use more stack.
Increase the max allowed stack size in some tests, and enable th

Fix stack limit on ASAN/MSAN (#14771)

Increase the reserved stack size in ASAN builds, as instrumentation use more stack.
Increase the max allowed stack size in some tests, and enable these tests under ASAN.
Use __builtin_frame_address(0), instead of some stack variable, when we need a stack address, as ASAN may store local variables outside of the real stack.

show more ...


# 6aa70b57 10-Dec-2023 Arnaud Le Blanc

WS


# b1516d95 11-Nov-2023 Arnaud Le Blanc

Clarify the stack limit exception message

Make it clearer why the size is not exactly zend.max_allowed_stack_size


# 68381457 24-Jan-2023 Dmitry Stogov

Fix test failures when PHP is compiled without ZEND_CHECK_STACK_LIMIT
(e.g. 32-bit CLANG build with address sanitizer)


# cf777629 19-Dec-2022 Arnaud Le Blanc

Skip tests under MSAN

Stack overflows can be detected as long as C stack frames between two
execute_ex() calls use less than zend.reserved_stack_size bytes of stack.

The default

Skip tests under MSAN

Stack overflows can be detected as long as C stack frames between two
execute_ex() calls use less than zend.reserved_stack_size bytes of stack.

The default value of zend.reserved_stack_size accounts for the largest stack
users, but MSAN instrumentation increases usage considerably: php_pcre2_match
uses more than 200KiB of stack in some MSAN build, compared to 20KiB without MSAN
according to -fstack-usage.

show more ...


# a11c8a30 16-Dec-2022 Arnaud Le Blanc

Limit stack size (#9104)