History log of /PHP-5.3/main/safe_mode.c (Results 26 – 50 of 85)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.0.3RC1, php-4.3.10RC1, PRE_NEW_VM_GEN_PATCH
# 06a4be43 29-Sep-2004 Anantha Kesari H Y

NetWare don't have uid for a file so modified the php_checkuid to return 1 for NetWAre


Revision tags: php-5.0.2, php-4.3.9, php-5.0.2RC1, php-4.3.9RC3, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1
# 56f8195f 19-Jul-2004 Andi Gutmans

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have

- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.

show more ...


Revision tags: php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0, php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# dbeb4158 08-Jan-2004 Andi Gutmans

- A belated happy holidays and PHP 5


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1, php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1, php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# cfd04663 17-Mar-2003 Wez Furlong

Fix for Bug #21310, based on a patch by jflemer@php.net.


Revision tags: php-4.3.2RC1
# 8e3f23e3 19-Feb-2003 foobar

ws fixes + missing $Id$ tags, headers added


Revision tags: php-4.3.1, PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# 9b560970 09-Jan-2003 Ilia Alshanetsky

Fixed compiler warnings.


# 4d789b59 09-Jan-2003 Sara Golemon

Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_che

Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.

show more ...


# 2c5d4b8c 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1
# 78e2e69b 06-Nov-2002 Ilia Alshanetsky

Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.


Revision tags: php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1
# cf2e12a0 02-Oct-2002 David Reid

Add some more BeOS support.


Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003, RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2
# a1f7bb12 25-Aug-2002 Marcus Boerger

use php_error_docref()


Revision tags: php-4.2.3RC1
# c2cbae6d 16-Aug-2002 Wez Furlong

Enhance Ilia's recent patch to query the wrapper subsystem to determine
if a filename is a URL and thus if safe-mode checks should be skipped.


# a643ae65 16-Aug-2002 Ilia Alshanetsky

Make https:// be exempt from safe_mode checks, just like http:// & ftp:// are.


Revision tags: dev, php-4.2.2
# f4f8726b 17-Jul-2002 Yasuo Ohgaki

Accoding to safe_mode.h, php_checkuid() has six modes.


# 6f101162 13-Jul-2002 foobar

Fix bug: #18285, php_checkuid() mangled the passed path.


Revision tags: INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0, RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1
# 0d3a4529 17-Mar-2002 Stefan Esser

SAFE_MODE restriction error message fixed if the file doesn't exist


# cf4a292c 14-Mar-2002 Stefan Esser

fixed a typo within checkuid


Revision tags: help
# 6a6b5a61 03-Mar-2002 James E. Flemer

(php_checkuid) Added case for root directory when mode is
not CHECKUID_ALLOW_ONLY_DIR.


# ecac9a7e 03-Mar-2002 James E. Flemer

(php_checkuid) Added case for root directory when mode is
CHECKUID_ALLOW_ONLY_DIR.


# 90613d22 28-Feb-2002 Sebastian Bergmann

Maintain headers.


Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2, POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1, php4, php-4.0.7RC3, POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS
# 78747bd2 09-Sep-2001 Derick Rethans

- Don't wrap lines... this is annoying while coding.


Revision tags: php-4.0.7RC2, php-4.0.7RC1, BEFORE_EXP_MERGE, PRE_METHOD_DEREFERENCE_PATCH, BEFORE_PARAM_PARSING_CHANGE, PRE_ENGINE2_SPLIT
# 1159c84a 05-Aug-2001 Zeev Suraski

- TSRMLS_FETCH work
- whitespace fixes


# bc42c375 31-Jul-2001 Zeev Suraski

More TSRMLS_FETCH work. Got it under 400 now.


1234