mirror of
https://github.com/php/php-src.git
synced 2024-10-16 22:12:33 +00:00
11 lines
231 B
Plaintext
11 lines
231 B
Plaintext
|
--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)
|