Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Re-tag

  • Loading branch information...
commit 8722983775497294485ecb48bec607a22b9acdb4 2 parents 2ac38c3 + 953b01e
Ilia Alshanetsky authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  main/fopen_wrappers.c
3  main/fopen_wrappers.c
@@ -172,6 +172,9 @@ PHPAPI int php_check_specific_open_basedir(const char *basedir, const char *path
172 172 resolved_basedir[resolved_basedir_len] = PHP_DIR_SEPARATOR;
173 173 resolved_basedir[++resolved_basedir_len] = '\0';
174 174 }
  175 + } else {
  176 + resolved_basedir[resolved_basedir_len++] = PHP_DIR_SEPARATOR;
  177 + resolved_basedir[resolved_basedir_len] = '\0';
175 178 }
176 179
177 180 resolved_name_len = strlen(resolved_name);

0 comments on commit 8722983

Please sign in to comment.
Something went wrong with that request. Please try again.