Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 852b555ab4ac599f72ecd55e8813096c > files > 37

php-suhosin-0.9.35-1.mga4.x86_64.rpm

--TEST--
Testing: suhosin.executor.func.whitelist=call_user_func
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=64
suhosin.executor.func.whitelist=call_user_func
--FILE--
<?php
	call_user_func("printf", "hello\n");
?>
--EXPECTF--
ALERT - function outside of whitelist called: printf() (attacker 'REMOTE_ADDR not set', file '%s', line 2)

Warning: printf() has been disabled for security reasons in %s on line 2