#
974a8f8a |
| 30-Oct-2017 |
Dmitry Stogov |
Use internet strings for EG(ini_entries)
|
#
49ea143b |
| 26-Oct-2017 |
Dmitry Stogov |
Encapsulate reference-counting primitives. Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-count
Encapsulate reference-counting primitives. Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
show more ...
|
#
bb1814b5 |
| 14-Oct-2017 |
Herman J. Radtke III |
Fix issue with zend signals in php_request_startup The zend_signals_activate() function is called in php_request_startup() even if `--disable-zend-signals` is used. This causes uninitial
Fix issue with zend signals in php_request_startup The zend_signals_activate() function is called in php_request_startup() even if `--disable-zend-signals` is used. This causes uninitialized variables to be used on ZTS builds. This was removed in 7.1 in c870633. Removing guards from the SAPIs should be fine, but removing the guard from main/main.c prevents anyone using the static embedded library to integrate PHP into their programs. For more details, see the "Additional remark" section in https://bugs.php.net/bug.php?id=74149
show more ...
|
#
b4903aef |
| 18-Oct-2017 |
Dmitry Stogov |
Move a part of opcache initialization into post_startup phase (when all extensions already loaded).
|
#
4fcecfb2 |
| 05-Oct-2017 |
Peter Kokot |
Remove old apache_hooks occurrence The apache_hooks SAPI has been removed since PHP >= 7.0 and there is no need to have two different php_request_startup definitions. Also php_r
Remove old apache_hooks occurrence The apache_hooks SAPI has been removed since PHP >= 7.0 and there is no need to have two different php_request_startup definitions. Also php_request_startup_for_hook() and php_request_shutdown_for_hook() functions are not used in the PHP source code directly anymore. They are out of sync and are not touched when making changes to the shutdown sequence. The php_start_sapi() function was therefore not used anymore and is removed.
show more ...
|
#
73d6456d |
| 24-Sep-2017 |
Nikita Popov |
Fixed bug #75252
|
#
da2f5818 |
| 21-Sep-2017 |
Anatol Belski |
Fix thread safety
|
#
418f9744 |
| 20-Sep-2017 |
Andrea Faulds |
Fix bug #75236
|
#
3069ad8d |
| 13-Aug-2017 |
Anatol Belski |
Fixed bug #75063
|
#
b59718bd |
| 12-Aug-2017 |
Andrea Faulds |
Fix bug #74725 (html_errors=1 breaks unhandled exceptions)
|
Revision tags: php-7.1.8, php-7.2.0beta2, php-7.0.22 |
|
#
095d763f |
| 28-Jul-2017 |
Anatol Belski |
remove cast
|
#
7b34fae7 |
| 28-Jul-2017 |
Anatol Belski |
adjust signature and remove casts
|
#
0d1eeeb6 |
| 28-Jul-2017 |
Anatol Belski |
move zend_ato*() to size_t and remove casts
|
#
49d9b301 |
| 26-Jul-2017 |
Anatol Belski |
Move cwd_state and path related routines to size_t Having `int` there is no real profit in the size or speed, while unsigned improves security and overall integration. ZPP supplied strin
Move cwd_state and path related routines to size_t Having `int` there is no real profit in the size or speed, while unsigned improves security and overall integration. ZPP supplied strings can be then accepted directly and structs can be still handled with smaller unsigned types for size reasons, which is safe. Yet some related places are to go. basic move tsrm_realpath_r to size_t fix conditions and sync with affected places touch ocurrences of php_sys_readlink usage follow up on phar path handling remove duplicated check move zend_resolve_path and related pieces to size_t touch yet resolve path related places remove cast missing pieces missing piece yet cleanups for php_sys_readlink for ssize_t fix wrong return
show more ...
|
#
e5beb4e8 |
| 19-Jul-2017 |
Dmitry Stogov |
Reset globals on startup or restart
|
Revision tags: php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3 |
|
#
e08c0ed8 |
| 27-Jun-2017 |
Anatol Belski |
Bug #74815 crash with a combination of INI entries at startup TS related VCWD routines depend on CWD. Thus, a premature CWD deactivation renders the VCWD layer unusable. Same issue seems
Bug #74815 crash with a combination of INI entries at startup TS related VCWD routines depend on CWD. Thus, a premature CWD deactivation renders the VCWD layer unusable. Same issue seems to persist in versions < 7.2, just that the code path is actually unused so the issue didn't show up. Still might make sense to backport this into lower branches.
show more ...
|
#
caaeb484 |
| 26-Jun-2017 |
Dmitry Stogov |
Removed EG(valid_symbol_table). Used EG(active) instead.
|
Revision tags: php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20 |
|
#
fb6e7187 |
| 04-Jun-2017 |
Anatol Belski |
fix ticks init in ts build
|
Revision tags: php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17 |
|
#
c6982995 |
| 04-Mar-2017 |
Anatol Belski |
Interned strings unification for TS/NTS Hereby, interned strings are supported in thread safe PHP. The patch implements two types of interned strings - interning per process, st
Interned strings unification for TS/NTS Hereby, interned strings are supported in thread safe PHP. The patch implements two types of interned strings - interning per process, strings are not freed till process end - interning per request, strings are freed at request end There is no runtime interning. With Opcache, all the permanent iterned strings are copied into SHM on startup, additional copying into SHM might happen on demand.
show more ...
|
Revision tags: php-7.1.3RC1, php-7.0.17RC1 |
|
#
f9959ee7 |
| 22-Feb-2017 |
Kalle Sommer Nielsen |
Change PHP_OS_FAMILY slightly * PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase.
Change PHP_OS_FAMILY slightly * PHP_OS_FAMILY is now a macro, to allow extensions to take advantage of it, it is defined in php.h * Values are not upper-case-first, not always uppercase. Windows is no longer just "Win", if we want the short version for testing then PHP_OS is always WINNT anyway
show more ...
|
Revision tags: php-7.1.2, php-7.0.16 |
|
#
d53d0a5d |
| 12-Feb-2017 |
Anatol Belski |
refactor php_win32_get_random_bytes(), take 2 As in previous variant, locking is removed and the initialization is done only once at process start. The CNG API turns out to be faster
refactor php_win32_get_random_bytes(), take 2 As in previous variant, locking is removed and the initialization is done only once at process start. The CNG API turns out to be faster, also the initialization is less resources hungry. The initialization part could need to be improved, if too much startup failures are sighted in the real world usage. Though that would mean having locking back. The usage of CNG was already pointed out and requested in several reports, with the further refactoring it appears to make sense and simplify things a backward compatible way.
show more ...
|
#
048aec47 |
| 11-Feb-2017 |
Anatol Belski |
Revert "refactor php_win32_get_random_bytes()" This reverts commit 23bd7bcde03c31e2678f23f12c72c96c24800c92. Looks like this change is unstable. If same CSP is use but multiple proc
Revert "refactor php_win32_get_random_bytes()" This reverts commit 23bd7bcde03c31e2678f23f12c72c96c24800c92. Looks like this change is unstable. If same CSP is use but multiple processers, the initialization failures are possible. Thus, CryptAcquireContext in every process, even if it won't be used at all, is not sensible. This might actually motivate to look for better CSP APIs.
show more ...
|
#
23bd7bcd |
| 11-Feb-2017 |
Anatol Belski |
refactor php_win32_get_random_bytes() - avoid locking - initialize only once - the process will fail, if no init failed
|
#
02991f75 |
| 11-Feb-2017 |
Anatol Belski |
Revert "move winsock specific stuff into dllmain" This reverts commit d94c2c796a1b032d53b382681f8413cc3d02d2da. WSA functions are documented explicitly as unsafe for dllmain
|
#
d94c2c79 |
| 11-Feb-2017 |
Anatol Belski |
move winsock specific stuff into dllmain
|