From 1ac3a99cf162b34bdf8fd01e5aa90438374cc14f Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Fri, 4 Mar 2016 14:57:02 +0100 Subject: test for suhosin.executor.max_depth --- tests/executor/recursion_maxdepth.phpt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/executor/recursion_maxdepth.phpt diff --git a/tests/executor/recursion_maxdepth.phpt b/tests/executor/recursion_maxdepth.phpt new file mode 100644 index 0000000..ba3ccf0 --- /dev/null +++ b/tests/executor/recursion_maxdepth.phpt @@ -0,0 +1,31 @@ +--TEST-- +Testing: suhosin.executor.max_depth +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.max_depth=13 +--FILE-- + +--EXPECTF-- +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +ALERT - maximum execution depth reached - script terminated (attacker 'REMOTE_ADDR not set', file '%s', line 4) -- cgit v1.3