From b84e262f63b6848b4046295a7d06e17124e250da Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Fri, 5 Nov 2010 05:28:07 +0000 Subject: Fix bug #53226 (file_exists fails on big filenames). --- tests/security/bug53226.phpt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/security/bug53226.phpt (limited to 'tests') diff --git a/tests/security/bug53226.phpt b/tests/security/bug53226.phpt new file mode 100644 index 0000000000..e462d3e9d7 --- /dev/null +++ b/tests/security/bug53226.phpt @@ -0,0 +1,31 @@ +--TEST-- +Bug #53226 (file_exists fails on big filenames) +--INI-- +open_basedir=. +--FILE-- + +--CLEAN-- + +--EXPECTF-- +bool(true) +bool(true) +bool(true) +bool(true) +bool(false) + +Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (%d): %s in %s on line %d +bool(false) -- cgit v1.2.1