Skip to content

Commit 4a16940

Browse files
nielsdoscmb69
authored andcommitted
[ci skip] Skip test under ASAN
We backport 1d0fb36 to PHP-8.3.
1 parent 10b5d4b commit 4a16940

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/json/tests/gh15168.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ GH-15168 (stack overflow in json_encode())
55
if (ini_get('zend.max_allowed_stack_size') === false) {
66
die('skip No stack limit support');
77
}
8+
if (getenv('SKIP_ASAN')) {
9+
die('skip ASAN needs different stack limit setting due to more stack space usage');
10+
}
811
?>
912
--INI--
1013
zend.max_allowed_stack_size=512K

0 commit comments

Comments
 (0)