]>
granicus.if.org Git - php/log
Xinchen Hui [Tue, 29 Sep 2015 13:50:21 +0000 (21:50 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Tue, 29 Sep 2015 13:49:22 +0000 (21:49 +0800)]
Make ZEND_ECHO and removed ZEND_PRINT distinguishable
Xinchen Hui [Tue, 29 Sep 2015 13:49:22 +0000 (21:49 +0800)]
Make ZEND_ECHO and removed ZEND_PRINT distinguishable
Dmitry Stogov [Tue, 29 Sep 2015 11:12:58 +0000 (14:12 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Added information about Zend Extension API chabges
Dmitry Stogov [Tue, 29 Sep 2015 11:11:39 +0000 (14:11 +0300)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
* 'PHP-7.0' of git.php.net:php-src:
fix test
Ensure timeout tests wait for the entire specified duration
Anatol Belski [Tue, 29 Sep 2015 11:08:44 +0000 (13:08 +0200)]
Merge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 29 Sep 2015 11:08:03 +0000 (14:08 +0300)]
Added information about Zend Extension API chabges
Anatol Belski [Tue, 29 Sep 2015 11:04:24 +0000 (13:04 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix test
Ensure timeout tests wait for the entire specified duration
Added zend_internal_function.reserved[] fields, to allow extensions keep additional associated information. We didn't have zend_internal_function.reserved[] in PHP5, but we always allocated space for zend_function union, and extensions were able to reuse zend_function.op_array.reserved[] even for internal function. Now this is not possible. And extensions have to use zend_function.op_array.reserved[] for user functions and zend_function.internal_function.reserved[] for internal.
Anatol Belski [Tue, 29 Sep 2015 09:53:26 +0000 (11:53 +0200)]
fix test
Steven Hilder [Sun, 13 Sep 2015 10:06:23 +0000 (10:06 +0000)]
Ensure timeout tests wait for the entire specified duration
Dmitry Stogov [Tue, 29 Sep 2015 10:37:06 +0000 (13:37 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Added zend_internal_function.reserved[] fields, to allow extensions keep additional associated information. We didn't have zend_internal_function.reserved[] in PHP5, but we always allocated space for zend_function union, and extensions were able to reuse zend_function.op_array.reserved[] even for internal function. Now this is not possible. And extensions have to use zend_function.op_array.reserved[] for user functions and zend_function.internal_function.reserved[] for internal.
Dmitry Stogov [Tue, 29 Sep 2015 10:31:47 +0000 (13:31 +0300)]
Added zend_internal_function.reserved[] fields, to allow extensions keep additional associated information.
We didn't have zend_internal_function.reserved[] in PHP5, but we always allocated space for zend_function union, and extensions were able to reuse zend_function.op_array.reserved[] even for internal function. Now this is not possible. And extensions have to use zend_function.op_array.reserved[] for user functions and zend_function.internal_function.reserved[] for internal.
Anatol Belski [Tue, 29 Sep 2015 08:52:09 +0000 (10:52 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS for next
Anatol Belski [Tue, 29 Sep 2015 08:51:23 +0000 (10:51 +0200)]
update NEWS for next
Anatol Belski [Tue, 29 Sep 2015 08:42:46 +0000 (10:42 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Update openssl_x509_checkpurpose.phpt
add test to openssl ext
marcosptf [Wed, 9 Sep 2015 21:13:24 +0000 (18:13 -0300)]
Update openssl_x509_checkpurpose.phpt
root [Sun, 6 Sep 2015 15:19:53 +0000 (12:19 -0300)]
add test to openssl ext
Dmitry Stogov [Tue, 29 Sep 2015 08:18:30 +0000 (11:18 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Removed or simplified incorrect SEPARATE_*() macros usage.
Dmitry Stogov [Tue, 29 Sep 2015 08:17:43 +0000 (11:17 +0300)]
Removed or simplified incorrect SEPARATE_*() macros usage.
Andrey Hristov [Tue, 29 Sep 2015 07:49:22 +0000 (09:49 +0200)]
Merge branch 'PHP-7.0'
Andrey Hristov [Tue, 29 Sep 2015 07:42:55 +0000 (09:42 +0200)]
Add upgrading info about the tick functions internal API change
Anatol Belski [Tue, 29 Sep 2015 07:15:03 +0000 (09:15 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Remove makedev() check.
Different error message if makedev check fails
Add support for getrandom(2), add type check on file descriptor
fix test
Scott [Mon, 28 Sep 2015 20:36:11 +0000 (16:36 -0400)]
Remove makedev() check.
Scott [Mon, 21 Sep 2015 15:51:16 +0000 (11:51 -0400)]
Different error message if makedev check fails
Scott [Wed, 9 Sep 2015 10:50:06 +0000 (06:50 -0400)]
Add support for getrandom(2), add type check on file descriptor
Fix to_read, throw exception if syscall fails
Fixes thanks to feedback from sarnold at ##crypto on freenode
Correction on error conditions
Remove dead code (thanks @defuse)
It turns out getrandom can take >256, getentropy refuses.
Better semantics
Thanks @defuse for catching my silly mistake here
Cast to size_t to be explicit
Let's simplify the logic a bit
Let's be consistent; define everything before we do any logic
Continuously check that the file descriptor is still a valid one
Add device type check on fd initialization
Anatol Belski [Tue, 29 Sep 2015 07:11:52 +0000 (09:11 +0200)]
fix test
cutting out the '/' is not critical, but allows to avoid forking
Stanislav Malyshev [Tue, 29 Sep 2015 04:43:28 +0000 (21:43 -0700)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Better fix for bug #70433
Stanislav Malyshev [Tue, 29 Sep 2015 04:43:16 +0000 (21:43 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Better fix for bug #70433
Conflicts:
ext/phar/dirstream.c
ext/phar/util.c
Stanislav Malyshev [Tue, 29 Sep 2015 04:42:08 +0000 (21:42 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Better fix for bug #70433
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 04:37:26 +0000 (21:37 -0700)]
Better fix for bug #70433
Stanislav Malyshev [Tue, 29 Sep 2015 03:45:38 +0000 (20:45 -0700)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Conflicts:
ext/phar/util.c
Stanislav Malyshev [Tue, 29 Sep 2015 03:45:02 +0000 (20:45 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 03:44:28 +0000 (20:44 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
fix memory leak
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Conflicts:
ext/phar/dirstream.c
Stanislav Malyshev [Tue, 29 Sep 2015 03:43:18 +0000 (20:43 -0700)]
fix memory leak
Stanislav Malyshev [Tue, 29 Sep 2015 00:12:35 +0000 (17:12 -0700)]
FIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"
Stanislav Malyshev [Mon, 28 Sep 2015 22:51:59 +0000 (15:51 -0700)]
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Stanislav Malyshev [Tue, 29 Sep 2015 00:00:32 +0000 (17:00 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Conflicts:
ext/phar/util.c
Stanislav Malyshev [Mon, 28 Sep 2015 23:59:46 +0000 (16:59 -0700)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Stanislav Malyshev [Mon, 28 Sep 2015 22:51:59 +0000 (15:51 -0700)]
Fix bug #69720: Null pointer dereference in phar_get_fp_offset()
Stanislav Malyshev [Mon, 28 Sep 2015 20:08:44 +0000 (13:08 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Stanislav Malyshev [Mon, 28 Sep 2015 20:05:02 +0000 (13:05 -0700)]
Merge branch 'PHP-5.6'
* PHP-5.6:
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Stanislav Malyshev [Mon, 28 Sep 2015 18:31:14 +0000 (11:31 -0700)]
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
Andrey Hristov [Mon, 28 Sep 2015 10:28:20 +0000 (12:28 +0200)]
Merge branch 'PHP-7.0'
Andrey Hristov [Mon, 28 Sep 2015 09:21:17 +0000 (11:21 +0200)]
Add support for parameters to tick functions, on C level. This is only
for extensions that want to use register tick functions. Userland tick
functions are unaffected.
Bob Weinand [Sun, 27 Sep 2015 23:07:38 +0000 (01:07 +0200)]
Add NEWS entry for #70533 (credits to Anatol)
Anatol Belski [Sun, 27 Sep 2015 13:48:42 +0000 (15:48 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
fix phpdbg's -h switch
Anatol Belski [Sun, 27 Sep 2015 13:46:07 +0000 (15:46 +0200)]
fix phpdbg's -h switch
The help functionality needs a correct stdout fd, so pre setup it
for the only case.
Andrey Hristov [Fri, 25 Sep 2015 12:29:56 +0000 (14:29 +0200)]
Merge branch 'PHP-7.0'
Andrey Hristov [Fri, 25 Sep 2015 12:29:06 +0000 (14:29 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Andrey Hristov [Fri, 25 Sep 2015 12:06:28 +0000 (14:06 +0200)]
Fixed bug #70572 segfault in mysqlnd_connect
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384
Dmitry Stogov [Fri, 25 Sep 2015 10:02:49 +0000 (13:02 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Allow an experimental VM with tail call dispatch technique (disabled by default). This VM may work only if all tail calls are optimized, otherwaise it will crach because of stack overflow. Unfortunately, we can't guarantee tail call optimization in C.
Dmitry Stogov [Fri, 25 Sep 2015 09:54:51 +0000 (12:54 +0300)]
Allow an experimental VM with tail call dispatch technique (disabled by default).
This VM may work only if all tail calls are optimized, otherwaise it will crach because of stack overflow.
Unfortunately, we can't guarantee tail call optimization in C.
Anatol Belski [Fri, 25 Sep 2015 09:52:27 +0000 (11:52 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
check for test requirement
fix data type and warning
Anatol Belski [Fri, 25 Sep 2015 09:49:45 +0000 (11:49 +0200)]
check for test requirement
Anatol Belski [Fri, 25 Sep 2015 07:35:59 +0000 (09:35 +0200)]
fix data type and warning
Dmitry Stogov [Fri, 25 Sep 2015 08:52:51 +0000 (11:52 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Extended zend_extension API to allow storing additional data associated with op_arrays in opcache SHM. (op_array->reserved[])
Dmitry Stogov [Fri, 25 Sep 2015 08:50:38 +0000 (11:50 +0300)]
Extended zend_extension API to allow storing additional data associated with op_arrays in opcache SHM. (op_array->reserved[])
Dmitry Stogov [Fri, 25 Sep 2015 08:01:12 +0000 (11:01 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Make necessary separation (it might be possible to fix this in a better way, but this will requre some refactoring)
Dmitry Stogov [Fri, 25 Sep 2015 07:59:27 +0000 (10:59 +0300)]
Make necessary separation (it might be possible to fix this in a better way, but this will requre some refactoring)
Anatol Belski [Fri, 25 Sep 2015 07:12:28 +0000 (09:12 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
add note about minimum openssl version
fix ident
Anatol Belski [Fri, 25 Sep 2015 07:11:33 +0000 (09:11 +0200)]
add note about minimum openssl version
Anatol Belski [Thu, 24 Sep 2015 15:29:51 +0000 (17:29 +0200)]
fix ident
Dmitry Stogov [Thu, 24 Sep 2015 23:20:31 +0000 (02:20 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Cleanup: avoid useless array duplication
Dmitry Stogov [Thu, 24 Sep 2015 23:20:05 +0000 (02:20 +0300)]
Cleanup: avoid useless array duplication
Dmitry Stogov [Thu, 24 Sep 2015 22:36:23 +0000 (01:36 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Cleanup
Dmitry Stogov [Thu, 24 Sep 2015 22:36:10 +0000 (01:36 +0300)]
Cleanup
Dmitry Stogov [Thu, 24 Sep 2015 19:41:45 +0000 (22:41 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
Fix missing LOAD_OPLINE() for ZEND_USER_OPCODE_LEAVE
Dmitry Stogov [Thu, 24 Sep 2015 19:39:59 +0000 (22:39 +0300)]
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
Bob Weinand [Thu, 24 Sep 2015 19:06:07 +0000 (21:06 +0200)]
Fix missing LOAD_OPLINE() for ZEND_USER_OPCODE_LEAVE
Bob Weinand [Thu, 24 Sep 2015 18:34:12 +0000 (20:34 +0200)]
Merge branch 'PHP-7.0'
Bob Weinand [Thu, 24 Sep 2015 18:33:37 +0000 (20:33 +0200)]
Ensure proper exception handling and EX(opline) state in USER_OPCODE handler
Anatol Belski [Thu, 24 Sep 2015 15:26:28 +0000 (17:26 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
don't keep locked mutex after errors
avoid dangling pointers
move accel_shared_globals assignment into locked block
add ovfl check, fix warnings
fix warning
fix warning
Anatol Belski [Thu, 24 Sep 2015 12:41:08 +0000 (14:41 +0200)]
don't keep locked mutex after errors
Anatol Belski [Thu, 24 Sep 2015 12:26:15 +0000 (14:26 +0200)]
avoid dangling pointers
Anatol Belski [Thu, 24 Sep 2015 10:46:54 +0000 (12:46 +0200)]
move accel_shared_globals assignment into locked block
this might fix crashes under high concurrency
Anatol Belski [Thu, 24 Sep 2015 05:18:31 +0000 (07:18 +0200)]
add ovfl check, fix warnings
Anatol Belski [Wed, 23 Sep 2015 20:19:38 +0000 (22:19 +0200)]
fix warning
Anatol Belski [Wed, 23 Sep 2015 20:19:05 +0000 (22:19 +0200)]
fix warning
Dmitry Stogov [Thu, 24 Sep 2015 13:43:33 +0000 (16:43 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
Dmitry Stogov [Thu, 24 Sep 2015 13:42:59 +0000 (16:42 +0300)]
Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
Adam Harvey [Thu, 24 Sep 2015 12:20:07 +0000 (14:20 +0200)]
Merge branch 'PHP-7.0'
Adam Harvey [Thu, 24 Sep 2015 12:16:45 +0000 (14:16 +0200)]
Fix a memory leak in sqlite3_do_callback.
This was very, very obvious when using a debug build of PHP to build the
manual!
Fixes bug #70571 (Memory leak in sqlite3_do_callback).
Dmitry Stogov [Thu, 24 Sep 2015 08:20:03 +0000 (11:20 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fix (revert) loop exit condition
Dmitry Stogov [Thu, 24 Sep 2015 08:19:26 +0000 (11:19 +0300)]
Fix (revert) loop exit condition
Dmitry Stogov [Thu, 24 Sep 2015 07:49:48 +0000 (10:49 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)
Dmitry Stogov [Thu, 24 Sep 2015 07:48:34 +0000 (10:48 +0300)]
Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)
Dmitry Stogov [Wed, 23 Sep 2015 23:23:26 +0000 (02:23 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Cleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 23:23:09 +0000 (02:23 +0300)]
Cleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:35:33 +0000 (01:35 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Cleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:35:16 +0000 (01:35 +0300)]
Cleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:19:42 +0000 (01:19 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed memory leak and avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:19:15 +0000 (01:19 +0300)]
Fixed memory leak and avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 21:26:15 +0000 (00:26 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Cleanup: replace removed condition with ZEND_ASSERT()
Dmitry Stogov [Wed, 23 Sep 2015 21:25:51 +0000 (00:25 +0300)]
Cleanup: replace removed condition with ZEND_ASSERT()
Dmitry Stogov [Wed, 23 Sep 2015 20:16:48 +0000 (23:16 +0300)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed memory leak.
Dmitry Stogov [Wed, 23 Sep 2015 20:16:30 +0000 (23:16 +0300)]
Fixed memory leak.
Anatol Belski [Wed, 23 Sep 2015 18:01:34 +0000 (20:01 +0200)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
Anatol Belski [Wed, 23 Sep 2015 18:01:18 +0000 (20:01 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS
Anatol Belski [Wed, 23 Sep 2015 18:00:38 +0000 (20:00 +0200)]
update NEWS