Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Re-tag

  • Loading branch information...
commit 8722983775497294485ecb48bec607a22b9acdb4 2 parents 2ac38c3 + 953b01e
Ilia Alshanetsky authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  main/fopen_wrappers.c
View
3  main/fopen_wrappers.c
@@ -172,6 +172,9 @@ PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path
resolved_basedir[resolved_basedir_len] = PHP_DIR_SEPARATOR;
resolved_basedir[++resolved_basedir_len] = '\0';
}
+ } else {
+ resolved_basedir[resolved_basedir_len++] = PHP_DIR_SEPARATOR;
+ resolved_basedir[resolved_basedir_len] = '\0';
}
resolved_name_len = strlen(resolved_name);
Please sign in to comment.
Something went wrong with that request. Please try again.