1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
This commit is contained in:
Stanislav Malyshev
2016-07-12 21:52:27 -07:00
parent 0ca1698cf9
commit a099545bec
+1 -1
View File
@@ -1190,7 +1190,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
int add_slash;
void *tmp;
if (path_length == 0 || path_length >= MAXPATHLEN-1) {
if (path_length <= 0 || path_length >= MAXPATHLEN-1) {
#ifdef TSRM_WIN32
# if _MSC_VER < 1300
errno = EINVAL;