diff options
author | Andi Gutmans <andi@php.net> | 2000-11-02 23:19:48 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-11-02 23:19:48 +0000 |
commit | 1956fb48d2c731c60a5081f91f15586d9bd2b9e9 (patch) | |
tree | 2df2a32cc97b473f9a398eca20b57d53a439d9b0 /main | |
parent | 3c775e64460ebd7b34383686045f251ba64832de (diff) | |
download | php-git-1956fb48d2c731c60a5081f91f15586d9bd2b9e9.tar.gz |
- Missed one of the php_checkuid() places
Diffstat (limited to 'main')
-rw-r--r-- | main/fopen_wrappers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/fopen_wrappers.c b/main/fopen_wrappers.c index 032eac346b..eeaba65390 100644 --- a/main/fopen_wrappers.c +++ b/main/fopen_wrappers.c @@ -256,7 +256,7 @@ PHPAPI FILE *php_fopen_wrapper(char *path, char *mode, int options, int *issock, if (options & USE_PATH && PG(include_path) != NULL) { return php_fopen_with_path(path, mode, PG(include_path), opened_path); } else { - if (options & ENFORCE_SAFE_MODE && PG(safe_mode) && (!php_checkuid(path, mode, 0))) { + if (options & ENFORCE_SAFE_MODE && PG(safe_mode) && (!php_checkuid(path, mode, CHECKUID_DISALLOW_FILE_NOT_EXISTS))) { return NULL; } return php_fopen_and_set_opened_path(path, mode, opened_path); |