mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Fixed bug #38993 (Fixed safe_mode/open_basedir checks for
session.save_path, allowing them to account for extra parameters).
This commit is contained in:
parent
bd088df90c
commit
154f70acf1
3 changed files with 12 additions and 3 deletions
|
@ -5622,7 +5622,6 @@ PHP_FUNCTION(ini_set)
|
|||
_CHECK_PATH(varname, "java.class.path") ||
|
||||
_CHECK_PATH(varname, "java.home") ||
|
||||
_CHECK_PATH(varname, "java.library.path") ||
|
||||
_CHECK_PATH(varname, "session.save_path") ||
|
||||
_CHECK_PATH(varname, "vpopmail.directory")) {
|
||||
if (PG(safe_mode) &&(!php_checkuid(Z_STRVAL_PP(new_value), NULL, CHECKUID_CHECK_FILE_AND_DIR))) {
|
||||
zval_dtor(return_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue