php-src/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt
Steph Fox fa3d01975b - killed off UEXPECT
- E_DEPRECATED doesn't always allow stuff to pass?
2008-05-27 00:04:31 +00:00

11 lines
230 B
PHP
Executable File

--TEST--
dl() filename length checks (CVE-2007-4887)
--FILE--
<?php
var_dump(dl(str_repeat("a", 8376757)));
?>
--EXPECTF--
Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d
bool(false)