[php-src] PR #14818: Fix stack limit under valgrind
| From: | arnaud-lb | Date: | Thu, 04 Jul 2024 13:03:05 +0000 |
| Subject: | [php-src] PR #14818: Fix stack limit under valgrind | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-27029@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14818
Author: arnaud-lb
Valgrind creates a stack mapping that can grow up to RLIMIT_STACK, but the last page is never
useable.
This fixes
Zend/tests/stack_limit/stack_limit_009.phpt and
Zend/tests/arginfo_zpp_mismatch.phpt when running under valgrind, as long as php is
compiled with --with-valgrind.