file_exists fails on big filenames
| Bug #53226 | file_exists fails on big filenames | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2010-11-02 08:44 UTC | Modified: | 2010-11-05 06:28 UTC |
|
||||||||||
| From: | daedal13 at gmail dot com | Assigned: | aharvey (profile) | |||||||||||
| Status: | Closed | Package: | Filesystem function related | |||||||||||
| PHP Version: | 5.2.14 | OS: | Linux | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2010-11-02 08:44 UTC] daedal13 at gmail dot com
Description: ------------ When I call "file_exists" with long string, I see warnings. In my case, if length of parameter is longer than 3 863 bytes, file_exists fails. Similar situations happens with is_file. Excuse me for my English :-) Test script: --------------- <?php file_exists($some_large_text); ?> Expected result: ---------------- Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(...
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2010-11-05 06:05 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
[2010-11-05 06:05 UTC] aharvey@php.net
[2010-11-05 06:28 UTC] aharvey@php.net