From: Stanislav Malyshev Date: Thu, 20 Sep 2007 18:45:03 +0000 (+0000) Subject: add test for dl() with long name X-Git-Tag: RELEASE_2_0_0a1~1780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a5dc95ae4f89c1e35d4bc2ee7f794038b612b37;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)