Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates > by-pkgid > 825f62a424e0b9c7467da10369080f57 > files > 18

php-suhosin-0.9.32.1-5.2.mga1.i586.rpm

--TEST--
Testing: suhosin.executor.max_depth
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=64
suhosin.executor.max_depth=13
--FILE--
<?php
    function rec($level)
    {
	echo $level,"\n";
	rec(++$level);
    }
    
    rec(2);
?>
--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 5)