diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2006-12-04 15:19:26 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2006-12-04 15:19:26 +0000 |
| commit | 35f78f221b9213f85861374d032667efc97e6486 (patch) | |
| tree | fed529604c5653bba8de52dad37cb2f4a7bf61bc /ext/session | |
| parent | dad67b1f65f37e9b3402adfa62486eeda7c054c9 (diff) | |
| download | php-git-35f78f221b9213f85861374d032667efc97e6486.tar.gz | |
Fixed bug #37627 (session save_path check checks the parent directory).
Diffstat (limited to 'ext/session')
| -rw-r--r-- | ext/session/session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 46a35a7a9e..668603b5ea 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -163,7 +163,7 @@ static PHP_INI_MH(OnUpdateSaveDir) p = new_value; } - if (PG(safe_mode) && (!php_checkuid(p, NULL, CHECKUID_ALLOW_ONLY_DIR))) { + if (PG(safe_mode) && (!php_checkuid(p, NULL, CHECKUID_CHECK_FILE_AND_DIR))) { return FAILURE; } |
