]>
granicus.if.org Git - php/log
Richard Quadling [Fri, 25 Sep 2015 11:16:53 +0000 (12:16 +0100)]
Spelling
bugger => buffer
Xinchen Hui [Wed, 30 Sep 2015 02:41:54 +0000 (10:41 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Wed, 30 Sep 2015 02:41:27 +0000 (10:41 +0800)]
Simply use 0/1 instead as dmitry suggested
Ferenc Kovacs [Tue, 29 Sep 2015 23:35:35 +0000 (01:35 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
update NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying for the next release
Ferenc Kovacs [Tue, 29 Sep 2015 23:28:39 +0000 (01:28 +0200)]
update NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying for the next release
Ferenc Kovacs [Tue, 29 Sep 2015 23:17:40 +0000 (01:17 +0200)]
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:17:10 +0000 (01:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add NEWS entries
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:16:43 +0000 (01:16 +0200)]
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:15:54 +0000 (01:15 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
add NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:15:24 +0000 (01:15 +0200)]
add NEWS entries
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: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
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 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: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:51:23 +0000 (10:51 +0200)]
update NEWS for next
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:17:43 +0000 (11:17 +0300)]
Removed or simplified incorrect SEPARATE_*() macros usage.
Andrey Hristov [Tue, 29 Sep 2015 07:42:55 +0000 (09:42 +0200)]
Add upgrading info about the tick functions internal API change
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: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: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 [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 18:31:14 +0000 (11:31 -0700)]
Fix bug #70480 (php_url_parse_ex() buffer overflow read)
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: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: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 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: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: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 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: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:05 +0000 (02:20 +0300)]
Cleanup: avoid useless array duplication
Dmitry Stogov [Thu, 24 Sep 2015 22:36:10 +0000 (01:36 +0300)]
Cleanup
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:33:37 +0000 (20:33 +0200)]
Ensure proper exception handling and EX(opline) state in USER_OPCODE handler
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:42:59 +0000 (16:42 +0300)]
Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks)
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:19:26 +0000 (11:19 +0300)]
Fix (revert) loop exit condition
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:09 +0000 (02:23 +0300)]
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:15 +0000 (01:19 +0300)]
Fixed memory leak and avoid reallocations
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:30 +0000 (23:16 +0300)]
Fixed memory leak.
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
Anatol Belski [Wed, 23 Sep 2015 17:57:42 +0000 (19:57 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add test
expose openssl config path so it can be tested
Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384
Andrey Hristov [Wed, 23 Sep 2015 15:27:18 +0000 (17:27 +0200)]
Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
Bob Weinand [Wed, 23 Sep 2015 16:30:13 +0000 (18:30 +0200)]
Fixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)
Andrey Hristov [Wed, 23 Sep 2015 15:27:18 +0000 (17:27 +0200)]
Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
Bob Weinand [Wed, 23 Sep 2015 15:53:22 +0000 (17:53 +0200)]
Fixed bug #70532 (respect set_exception_handler in phpdbg)
Anatol Belski [Wed, 23 Sep 2015 15:14:23 +0000 (17:14 +0200)]
use bundled openssl.cnf
Xinchen Hui [Wed, 23 Sep 2015 14:08:51 +0000 (07:08 -0700)]
Fixed memleaks in apache2handler
Xinchen Hui [Wed, 23 Sep 2015 14:05:47 +0000 (07:05 -0700)]
Fixed NEWS
Xinchen Hui [Wed, 23 Sep 2015 14:01:50 +0000 (07:01 -0700)]
Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())
Joe Watkins [Sun, 20 Sep 2015 05:23:36 +0000 (06:23 +0100)]
ZEND_COMPILE_GUARDS compiler option
Anatol Belski [Wed, 23 Sep 2015 13:20:59 +0000 (15:20 +0200)]
update NEWS
Dmitry Stogov [Wed, 23 Sep 2015 13:16:04 +0000 (16:16 +0300)]
Don't keep dangling pointers
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested
Anatol Belski [Wed, 23 Sep 2015 12:03:16 +0000 (14:03 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
add missing header
silence mkdir to fix fails after unclean test run
Anatol Belski [Wed, 23 Sep 2015 12:01:59 +0000 (14:01 +0200)]
add missing header
For PRIu32 and maybe more, that fixes build
Anatol Belski [Thu, 17 Sep 2015 06:39:38 +0000 (08:39 +0200)]
silence mkdir to fix fails after unclean test run
Dmitry Stogov [Wed, 23 Sep 2015 10:18:30 +0000 (13:18 +0300)]
Fixed test
Xinchen Hui [Wed, 23 Sep 2015 06:10:23 +0000 (14:10 +0800)]
Fixed Bug #70557 (Memleak on return type verifying failed)
Xinchen Hui [Wed, 23 Sep 2015 05:04:33 +0000 (13:04 +0800)]
Fixed bug #70548 (Redundant information printed in case of uncaught engine exception)
Xinchen Hui [Wed, 23 Sep 2015 02:00:20 +0000 (10:00 +0800)]
Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW)
and also keep the indices of func_get_args(). since they are similar
issue of #70574, thus reuse its test script.
Dmitry Stogov [Tue, 22 Sep 2015 22:32:30 +0000 (01:32 +0300)]
Cleanup: removed deprecated commented code. Incorrect zval_dtor() usage replaced by zval_dtor_ptr().
Dmitry Stogov [Tue, 22 Sep 2015 21:12:31 +0000 (00:12 +0300)]
Cleanup: zend_object_std_dtor() is called through free_obj handler
Dmitry Stogov [Tue, 22 Sep 2015 20:51:30 +0000 (23:51 +0300)]
Properly cleanup on wrong ZEND_OVERLOADED_FUNCTION call
Dmitry Stogov [Tue, 22 Sep 2015 19:55:00 +0000 (22:55 +0300)]
Cleanup: removed deprecated commented code