Sophie

Sophie

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

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

--TEST--
memory_limit test: trying to set memory_limit to a negative value
--SKIPIF--
<?php if (!function_exists("memory_get_usage")) print "skip PHP not compiled with memory_limit support"; ?>
--INI--
memory_limit=16M
suhosin.memory_limit=17M
suhosin.log.syslog=0
suhosin.log.script=0
suhosin.log.sapi=2
--FILE--
<?php
    ini_set("memory_limit", "-200000"); echo ini_get("memory_limit"), "\n";
?>
--EXPECTF--
ALERT - script tried to increase memory_limit to %d bytes which is above the allowed value (attacker 'REMOTE_ADDR not set', file '%s', line 2)
16M