From: Stanislav Malyshev Date: Thu, 20 Sep 2007 18:44:24 +0000 (+0000) Subject: add test for dl() with long name X-Git-Tag: php-5.2.5RC1~117 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfd8f6d775587c55e6537ce9c34c737242180cd6;p=php add test for dl() with long name --- diff --git a/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt b/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt new file mode 100755 index 0000000000..f8cb94fb58 --- /dev/null +++ b/ext/standard/tests/general_functions/dl-cve-2007-4887.phpt @@ -0,0 +1,10 @@ +--TEST-- +dl() filename length checks (CVE-2007-4887) +--FILE-- + +--EXPECTF-- + +Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d +bool(false)