]> granicus.if.org Git - php/log
php
9 years agoSpelling
Richard Quadling [Fri, 25 Sep 2015 11:16:53 +0000 (12:16 +0100)]
Spelling

bugger => buffer

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
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

9 years agoSimply use 0/1 instead as dmitry suggested
Xinchen Hui [Wed, 30 Sep 2015 02:41:27 +0000 (10:41 +0800)]
Simply use 0/1 instead as dmitry suggested

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoupdate NEWS, these missed 5.6.14RC1 as I was not asked to include them so delaying...
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

9 years agoadd NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:17:40 +0000 (01:17 +0200)]
add NEWS entries

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoadd NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:16:43 +0000 (01:16 +0200)]
add NEWS entries

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

9 years agoadd NEWS entries
Ferenc Kovacs [Tue, 29 Sep 2015 23:15:24 +0000 (01:15 +0200)]
add NEWS entries

9 years agoMake 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

9 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
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

9 years agoAdded information about Zend Extension API chabges
Dmitry Stogov [Tue, 29 Sep 2015 11:08:03 +0000 (14:08 +0300)]
Added information about Zend Extension API chabges

9 years agofix test
Anatol Belski [Tue, 29 Sep 2015 09:53:26 +0000 (11:53 +0200)]
fix test

9 years agoEnsure timeout tests wait for the entire specified duration
Steven Hilder [Sun, 13 Sep 2015 10:06:23 +0000 (10:06 +0000)]
Ensure timeout tests wait for the entire specified duration

9 years agoAdded zend_internal_function.reserved[] fields, to allow extensions keep additional...
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.

9 years agoupdate NEWS for next
Anatol Belski [Tue, 29 Sep 2015 08:51:23 +0000 (10:51 +0200)]
update NEWS for next

9 years agoUpdate openssl_x509_checkpurpose.phpt
marcosptf [Wed, 9 Sep 2015 21:13:24 +0000 (18:13 -0300)]
Update openssl_x509_checkpurpose.phpt

9 years agoadd test to openssl ext
root [Sun, 6 Sep 2015 15:19:53 +0000 (12:19 -0300)]
add test to openssl ext

9 years agoRemoved 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.

9 years agoAdd upgrading info about the tick functions internal API change
Andrey Hristov [Tue, 29 Sep 2015 07:42:55 +0000 (09:42 +0200)]
Add upgrading info about the tick functions internal API change

9 years agoRemove makedev() check.
Scott [Mon, 28 Sep 2015 20:36:11 +0000 (16:36 -0400)]
Remove makedev() check.

9 years agoDifferent error message if makedev check fails
Scott [Mon, 21 Sep 2015 15:51:16 +0000 (11:51 -0400)]
Different error message if makedev check fails

9 years agoAdd support for getrandom(2), add type check on file descriptor
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

9 years agofix test
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

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

9 years agoBetter fix for bug #70433
Stanislav Malyshev [Tue, 29 Sep 2015 04:37:26 +0000 (21:37 -0700)]
Better fix for bug #70433

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
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

9 years agofix memory leak
Stanislav Malyshev [Tue, 29 Sep 2015 03:43:18 +0000 (20:43 -0700)]
fix memory leak

9 years agoFIx bug #70433 - Uninitialized pointer in phar_make_dirstream when zip entry filename...
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 "/"

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoMerge branch 'PHP-5.5' into PHP-5.6
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()

9 years agoFix 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()

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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)

9 years agoFix 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)

9 years agoAdd support for parameters to tick functions, on C level. This is only
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.

9 years agoAdd NEWS entry for #70533 (credits to Anatol)
Bob Weinand [Sun, 27 Sep 2015 23:07:38 +0000 (01:07 +0200)]
Add NEWS entry for #70533 (credits to Anatol)

9 years agofix 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.

9 years agoMerge branch 'PHP-5.6' into 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

9 years agoFixed bug #70572 segfault in mysqlnd_connect
Andrey Hristov [Fri, 25 Sep 2015 12:06:28 +0000 (14:06 +0200)]
Fixed bug #70572 segfault in mysqlnd_connect

9 years agoSpread the news about 70384
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384

9 years agoAllow an experimental VM with tail call dispatch technique (disabled by default).
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.

9 years agocheck for test requirement
Anatol Belski [Fri, 25 Sep 2015 09:49:45 +0000 (11:49 +0200)]
check for test requirement

9 years agofix data type and warning
Anatol Belski [Fri, 25 Sep 2015 07:35:59 +0000 (09:35 +0200)]
fix data type and warning

9 years agoExtended zend_extension API to allow storing additional data associated with op_array...
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[])

9 years agoMake necessary separation (it might be possible to fix this in a better way, but...
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)

9 years agoadd note about minimum openssl version
Anatol Belski [Fri, 25 Sep 2015 07:11:33 +0000 (09:11 +0200)]
add note about minimum openssl version

9 years agofix ident
Anatol Belski [Thu, 24 Sep 2015 15:29:51 +0000 (17:29 +0200)]
fix ident

9 years agoCleanup: avoid useless array duplication
Dmitry Stogov [Thu, 24 Sep 2015 23:20:05 +0000 (02:20 +0300)]
Cleanup: avoid useless array duplication

9 years agoCleanup
Dmitry Stogov [Thu, 24 Sep 2015 22:36:10 +0000 (01:36 +0300)]
Cleanup

9 years agoFixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate...
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().

9 years agoFix missing LOAD_OPLINE() for ZEND_USER_OPCODE_LEAVE
Bob Weinand [Thu, 24 Sep 2015 19:06:07 +0000 (21:06 +0200)]
Fix missing LOAD_OPLINE() for ZEND_USER_OPCODE_LEAVE

9 years agoEnsure proper exception handling and EX(opline) state in USER_OPCODE handler
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

9 years agodon't keep locked mutex after errors
Anatol Belski [Thu, 24 Sep 2015 12:41:08 +0000 (14:41 +0200)]
don't keep locked mutex after errors

9 years agoavoid dangling pointers
Anatol Belski [Thu, 24 Sep 2015 12:26:15 +0000 (14:26 +0200)]
avoid dangling pointers

9 years agomove accel_shared_globals assignment into locked block
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

9 years agoadd ovfl check, fix warnings
Anatol Belski [Thu, 24 Sep 2015 05:18:31 +0000 (07:18 +0200)]
add ovfl check, fix warnings

9 years agofix warning
Anatol Belski [Wed, 23 Sep 2015 20:19:38 +0000 (22:19 +0200)]
fix warning

9 years agofix warning
Anatol Belski [Wed, 23 Sep 2015 20:19:05 +0000 (22:19 +0200)]
fix warning

9 years agoFixed 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)

9 years agoFix a memory leak in sqlite3_do_callback.
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).

9 years agoFix (revert) loop exit condition
Dmitry Stogov [Thu, 24 Sep 2015 08:19:26 +0000 (11:19 +0300)]
Fix (revert) loop exit condition

9 years agoAttmpt 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)

9 years agoCleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 23:23:09 +0000 (02:23 +0300)]
Cleanup: avoid reallocations

9 years agoCleanup: avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:35:16 +0000 (01:35 +0300)]
Cleanup: avoid reallocations

9 years agoFixed memory leak and avoid reallocations
Dmitry Stogov [Wed, 23 Sep 2015 22:19:15 +0000 (01:19 +0300)]
Fixed memory leak and avoid reallocations

9 years agoCleanup: 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()

9 years agoFixed memory leak.
Dmitry Stogov [Wed, 23 Sep 2015 20:16:30 +0000 (23:16 +0300)]
Fixed memory leak.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoupdate NEWS
Anatol Belski [Wed, 23 Sep 2015 18:00:38 +0000 (20:00 +0200)]
update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoadd test
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test

9 years agoexpose openssl config path so it can be tested
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested

9 years agoSpread the news about 70384
Andrey Hristov [Wed, 23 Sep 2015 16:35:45 +0000 (18:35 +0200)]
Spread the news about 70384

9 years agoFix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
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

9 years agoFixed bug #70531 (-rr should not fallback to interactive mode in phpdbg)
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)

9 years agoFix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the server
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

9 years agoFixed bug #70532 (respect set_exception_handler in phpdbg)
Bob Weinand [Wed, 23 Sep 2015 15:53:22 +0000 (17:53 +0200)]
Fixed bug #70532 (respect set_exception_handler in phpdbg)

9 years agouse bundled openssl.cnf
Anatol Belski [Wed, 23 Sep 2015 15:14:23 +0000 (17:14 +0200)]
use bundled openssl.cnf

9 years agoFixed memleaks in apache2handler
Xinchen Hui [Wed, 23 Sep 2015 14:08:51 +0000 (07:08 -0700)]
Fixed memleaks in apache2handler

9 years agoFixed NEWS
Xinchen Hui [Wed, 23 Sep 2015 14:05:47 +0000 (07:05 -0700)]
Fixed NEWS

9 years agoFixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())
Xinchen Hui [Wed, 23 Sep 2015 14:01:50 +0000 (07:01 -0700)]
Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass())

9 years agoZEND_COMPILE_GUARDS compiler option
Joe Watkins [Sun, 20 Sep 2015 05:23:36 +0000 (06:23 +0100)]
ZEND_COMPILE_GUARDS compiler option

9 years agoupdate NEWS
Anatol Belski [Wed, 23 Sep 2015 13:20:59 +0000 (15:20 +0200)]
update NEWS

9 years agoDon't keep dangling pointers
Dmitry Stogov [Wed, 23 Sep 2015 13:16:04 +0000 (16:16 +0300)]
Don't keep dangling pointers

9 years agoadd test
Anatol Belski [Wed, 23 Sep 2015 06:56:26 +0000 (08:56 +0200)]
add test

9 years agoexpose openssl config path so it can be tested
Anatol Belski [Wed, 23 Sep 2015 06:41:33 +0000 (08:41 +0200)]
expose openssl config path so it can be tested

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

9 years agoadd missing header
Anatol Belski [Wed, 23 Sep 2015 12:01:59 +0000 (14:01 +0200)]
add missing header

For PRIu32 and maybe more, that fixes build

9 years agosilence mkdir to fix fails after unclean test run
Anatol Belski [Thu, 17 Sep 2015 06:39:38 +0000 (08:39 +0200)]
silence mkdir to fix fails after unclean test run

9 years agoFixed test
Dmitry Stogov [Wed, 23 Sep 2015 10:18:30 +0000 (13:18 +0300)]
Fixed test

9 years agoFixed Bug #70557 (Memleak on return type verifying failed)
Xinchen Hui [Wed, 23 Sep 2015 06:10:23 +0000 (14:10 +0800)]
Fixed Bug #70557 (Memleak on return type verifying failed)

9 years agoFixed bug #70548 (Redundant information printed in case of uncaught engine exception)
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)

9 years agoFixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW)
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.

9 years agoCleanup: removed deprecated commented code. Incorrect zval_dtor() usage replaced...
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().

9 years agoCleanup: zend_object_std_dtor() is called through free_obj handler
Dmitry Stogov [Tue, 22 Sep 2015 21:12:31 +0000 (00:12 +0300)]
Cleanup: zend_object_std_dtor() is called through free_obj handler

9 years agoProperly cleanup on wrong ZEND_OVERLOADED_FUNCTION call
Dmitry Stogov [Tue, 22 Sep 2015 20:51:30 +0000 (23:51 +0300)]
Properly cleanup on wrong ZEND_OVERLOADED_FUNCTION call

9 years agoCleanup: removed deprecated commented code
Dmitry Stogov [Tue, 22 Sep 2015 19:55:00 +0000 (22:55 +0300)]
Cleanup: removed deprecated commented code