]> granicus.if.org Git - php/log
php
9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Wed, 11 Nov 2015 03:35:09 +0000 (11:35 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB 3.2-dev)
Xinchen Hui [Wed, 11 Nov 2015 03:33:32 +0000 (11:33 +0800)]
Fixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB 3.2-dev)

Maybe we should introduce a new zend_hash_safe_apply which always reload
the ht->arData to make sure won't segfault the ht is grew?

9 years agoWe don't nees zend_op_array->brk_cont_array at run-time anymore.
Dmitry Stogov [Tue, 10 Nov 2015 18:48:03 +0000 (21:48 +0300)]
We don't nees zend_op_array->brk_cont_array at run-time anymore.
Move zend_op_array->brk_cont_array into CG(context).brk_cont_array.
Use more compact zend_op_array->live_range instead of zend_op_array->brk_cont_array.
Semantic is kept unchanged.

9 years agoMake FE_FETCH and following assignments to be a part of a loop.
Dmitry Stogov [Tue, 10 Nov 2015 17:11:05 +0000 (20:11 +0300)]
Make FE_FETCH and following assignments to be a part of a loop.

9 years agoChanged meaning of "op2" for ZEND_FREE, ZEND_FE_FREE, ZEND_FAST_CALL, ZEND_FAST_RET.
Dmitry Stogov [Tue, 10 Nov 2015 16:13:54 +0000 (19:13 +0300)]
Changed meaning of "op2" for ZEND_FREE, ZEND_FE_FREE, ZEND_FAST_CALL, ZEND_FAST_RET.
Previously it was an instruction number.
Now it's an index in op_array->try_cacth_array[].

9 years agoMerge branch 'PHP-7.0'
Bob Weinand [Tue, 10 Nov 2015 08:29:35 +0000 (09:29 +0100)]
Merge branch 'PHP-7.0'

9 years agoUse --vex-iropt-precise-memory-exns=yes for valgrind < 3.8.0
Bob Weinand [Tue, 10 Nov 2015 08:27:32 +0000 (09:27 +0100)]
Use --vex-iropt-precise-memory-exns=yes for valgrind < 3.8.0

9 years agoMerge branch 'PHP-7.0'
Matteo Beccati [Tue, 10 Nov 2015 08:10:15 +0000 (09:10 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Split shmop/tests/002.phpt in two (all + non-root)
  Fix bug #70886 in shmop/tests/002.phpt

9 years agoSplit shmop/tests/002.phpt in two (all + non-root)
Matteo Beccati [Tue, 10 Nov 2015 08:02:40 +0000 (09:02 +0100)]
Split shmop/tests/002.phpt in two (all + non-root)

One of the conditions tested was expected to fail with "Permission denied",
but it doesn't when running as root. The memory segment was also leaked, hence
the split.

9 years agoFix bug #70886 in shmop/tests/002.phpt
Matteo Beccati [Tue, 10 Nov 2015 07:43:37 +0000 (08:43 +0100)]
Fix bug #70886 in shmop/tests/002.phpt

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 10 Nov 2015 08:01:14 +0000 (16:01 +0800)]
Merge branch 'PHP-7.0'

9 years agoUnused var
Xinchen Hui [Tue, 10 Nov 2015 07:54:32 +0000 (15:54 +0800)]
Unused var

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Tue, 10 Nov 2015 07:11:46 +0000 (10:11 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed incorrect order of free/finally on exception

9 years agoFixed incorrect order of free/finally on exception
Dmitry Stogov [Tue, 10 Nov 2015 07:10:39 +0000 (10:10 +0300)]
Fixed incorrect order of free/finally on exception

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Mon, 9 Nov 2015 23:42:12 +0000 (23:42 +0000)]
Merge branch 'PHP-7.0'

9 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Mon, 9 Nov 2015 23:41:40 +0000 (00:41 +0100)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 9 Nov 2015 23:40:49 +0000 (00:40 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  additional catch to bug #70863

9 years agoMerge branch 'use_ZEND_STRL_for_builtin_types' into PHP-7.0
Andrea Faulds [Mon, 9 Nov 2015 23:40:49 +0000 (23:40 +0000)]
Merge branch 'use_ZEND_STRL_for_builtin_types' into PHP-7.0

9 years agoadditional catch to bug #70863
Anatol Belski [Mon, 9 Nov 2015 23:38:11 +0000 (00:38 +0100)]
additional catch to bug #70863

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 9 Nov 2015 21:49:52 +0000 (22:49 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  add test for eb32da13

9 years agoadd test for eb32da13
Anatol Belski [Mon, 9 Nov 2015 21:45:22 +0000 (22:45 +0100)]
add test for eb32da13

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Mon, 9 Nov 2015 20:54:58 +0000 (23:54 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Added tests

9 years agoAdded tests
Dmitry Stogov [Mon, 9 Nov 2015 20:54:09 +0000 (23:54 +0300)]
Added tests

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 9 Nov 2015 18:40:33 +0000 (19:40 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  prepare news for next

9 years agoprepare news for next
Anatol Belski [Mon, 9 Nov 2015 18:39:02 +0000 (19:39 +0100)]
prepare news for next

9 years agoMerge branch 'PHP-7.0'
Jakub Zelenka [Mon, 9 Nov 2015 18:25:07 +0000 (18:25 +0000)]
Merge branch 'PHP-7.0'

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Mon, 9 Nov 2015 18:23:29 +0000 (18:23 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoRemove SNI test that trigger request to sni.velox.ch
Jakub Zelenka [Mon, 9 Nov 2015 18:11:18 +0000 (18:11 +0000)]
Remove SNI test that trigger request to sni.velox.ch

This has been requested by Kaspar Brand who provides
sni.velox.ch. That site is only for interactive
testing and not for unit/integration/regression testing.
Although this test is run only in special cases (when
SNI_TESTS is defined) it should still be removed.

Also this test is not reliable as it depends on external
resources.

9 years agoUse ZEND_STRL macro for builtin_types
Andrea Faulds [Mon, 9 Nov 2015 11:15:58 +0000 (11:15 +0000)]
Use ZEND_STRL macro for builtin_types

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 9 Nov 2015 09:15:05 +0000 (17:15 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #70323 (Regression in zend_fetch_debug_backtrace() can cause segfaults)
Xinchen Hui [Mon, 9 Nov 2015 09:14:15 +0000 (17:14 +0800)]
Fixed bug #70323 (Regression in zend_fetch_debug_backtrace() can cause segfaults)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 9 Nov 2015 04:22:01 +0000 (12:22 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #70624 opcache.huge_code_pages
Xinchen Hui [Mon, 9 Nov 2015 04:21:45 +0000 (12:21 +0800)]
Fixed bug #70624 opcache.huge_code_pages

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 9 Nov 2015 04:02:43 +0000 (12:02 +0800)]
Merge branch 'PHP-7.0'

9 years agoUpdate NEWS
Xinchen Hui [Mon, 9 Nov 2015 04:02:27 +0000 (12:02 +0800)]
Update NEWS

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 9 Nov 2015 03:58:51 +0000 (11:58 +0800)]
Merge branch 'PHP-7.0'

9 years agoMake sure context is set to null to prevent use after free
Caleb Champlin [Mon, 2 Nov 2015 21:58:04 +0000 (21:58 +0000)]
Make sure context is set to null to prevent use after free

9 years agoMerge branch '70842-streams-segfault' of https://github.com/cchamplin/php-src
Xinchen Hui [Mon, 9 Nov 2015 03:57:32 +0000 (11:57 +0800)]
Merge branch '70842-streams-segfault' of https://github.com/cchamplin/php-src

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 8 Nov 2015 07:06:47 +0000 (23:06 -0800)]
Merge branch 'PHP-7.0'

9 years agoMerge branch 'patch-1' of https://github.com/colinodell/php-src into PHP-7.0
Xinchen Hui [Sun, 8 Nov 2015 07:06:41 +0000 (23:06 -0800)]
Merge branch 'patch-1' of https://github.com/colinodell/php-src into PHP-7.0

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 8 Nov 2015 07:03:39 +0000 (23:03 -0800)]
Merge branch 'PHP-7.0'

9 years agomanually apply the typo fix in master
Xinchen Hui [Sun, 8 Nov 2015 07:03:25 +0000 (23:03 -0800)]
manually apply the typo fix in master

9 years agoMerge branch 'patch-3' of https://github.com/staabm/php-src
Xinchen Hui [Sun, 8 Nov 2015 07:02:19 +0000 (23:02 -0800)]
Merge branch 'patch-3' of https://github.com/staabm/php-src

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 8 Nov 2015 07:01:29 +0000 (23:01 -0800)]
Merge branch 'PHP-7.0'

9 years agorm duplicate include
Lynn [Wed, 28 Oct 2015 03:21:15 +0000 (11:21 +0800)]
rm duplicate include

9 years agoMerge branch 'c9n-patch-1' of https://github.com/c9n/php-src
Xinchen Hui [Sun, 8 Nov 2015 07:01:09 +0000 (23:01 -0800)]
Merge branch 'c9n-patch-1' of https://github.com/c9n/php-src

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 8 Nov 2015 06:59:05 +0000 (22:59 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed typo in reflection phpt
James Titcumb [Tue, 27 Oct 2015 13:18:50 +0000 (13:18 +0000)]
Fixed typo in reflection phpt

9 years agoMerge branch 'patch-1' of https://github.com/asgrim/php-src
Xinchen Hui [Sun, 8 Nov 2015 06:58:30 +0000 (22:58 -0800)]
Merge branch 'patch-1' of https://github.com/asgrim/php-src

9 years agoFix description of a BC break
Colin O'Dell [Sat, 7 Nov 2015 22:48:02 +0000 (17:48 -0500)]
Fix description of a BC break

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Sat, 7 Nov 2015 16:50:39 +0000 (17:50 +0100)]
Merge branch 'PHP-7.0'

Conflicts:
ext/opcache/Optimizer/zend_optimizer.c

9 years agoFix various update_opN_const issues
Nikita Popov [Sat, 7 Nov 2015 16:45:26 +0000 (17:45 +0100)]
Fix various update_opN_const issues

9 years agoRefactor update_op2_const
Nikita Popov [Sat, 7 Nov 2015 16:27:12 +0000 (17:27 +0100)]
Refactor update_op2_const

Combines both switches into one, to avoid having to maintain the same
opcode list twice. This also makes most of the bugs fixed by the next
commit pretty obvious.

No functional change here.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 7 Nov 2015 15:43:29 +0000 (07:43 -0800)]
Merge branch 'PHP-7.0'

9 years agoUse defined macro
Xinchen Hui [Sat, 7 Nov 2015 15:43:18 +0000 (07:43 -0800)]
Use defined macro

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 7 Nov 2015 15:30:42 +0000 (07:30 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #70876 (Segmentation fault when regenerating session id with strict mode)
Xinchen Hui [Sat, 7 Nov 2015 15:30:31 +0000 (07:30 -0800)]
Fixed bug #70876 (Segmentation fault when regenerating session id with strict mode)

9 years agoRevert "Fixed bug #70876 Segmentation fault when regenerating session id with strict...
Xinchen Hui [Sat, 7 Nov 2015 15:17:43 +0000 (07:17 -0800)]
Revert "Fixed bug #70876 Segmentation fault when regenerating session id with strict mode"

This reverts commit 0bf3ebb4ba77f38261d9cb21a205a7d31b7f85cf.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 7 Nov 2015 14:50:43 +0000 (06:50 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #70873 (Regression on private static properties access)
Xinchen Hui [Sat, 7 Nov 2015 14:50:24 +0000 (06:50 -0800)]
Fixed bug #70873 (Regression on private static properties access)

9 years agoMerge branch 'PHP-7.0'
Reeze Xia [Sat, 7 Nov 2015 14:17:10 +0000 (22:17 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  C99 complain fix
  Update NEWS
  Fixed bug #70876 Segmentation fault when regenerating session id with strict mode

9 years agoC99 complain fix
Reeze Xia [Sat, 7 Nov 2015 14:15:19 +0000 (22:15 +0800)]
C99 complain fix

9 years agoUpdate NEWS
Reeze Xia [Sat, 7 Nov 2015 14:10:56 +0000 (22:10 +0800)]
Update NEWS

9 years agoFixed bug #70876 Segmentation fault when regenerating session id with strict mode
Reeze Xia [Sat, 7 Nov 2015 13:46:21 +0000 (21:46 +0800)]
Fixed bug #70876 Segmentation fault when regenerating session id with strict mode

The comment *mod_data always be non-NULL is not true.
The same as this FIXME: https://github.com/php/php-src/blob/master/ext/session/mod_files.c#L676

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Sat, 7 Nov 2015 11:09:20 +0000 (12:09 +0100)]
Merge branch 'PHP-7.0'

Conflicts:
ext/opcache/Optimizer/zend_optimizer.c

9 years agoDon't propagate into ops that error on non-string
Nikita Popov [Sat, 7 Nov 2015 10:48:21 +0000 (11:48 +0100)]
Don't propagate into ops that error on non-string

To properly support this make update_opN_const fallible -- they
are not always called through replace_with_const.

9 years agoStrip leading backslash in update_opN_const
Nikita Popov [Sat, 7 Nov 2015 09:59:18 +0000 (10:59 +0100)]
Strip leading backslash in update_opN_const

9 years agoFix update_opX_const lowercasing
Nikita Popov [Fri, 6 Nov 2015 22:00:39 +0000 (23:00 +0100)]
Fix update_opX_const lowercasing

It was lowering in-place.

9 years agoMerge branch 'PHP-7.0'
Matteo Beccati [Sat, 7 Nov 2015 10:06:10 +0000 (11:06 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute
  Always remember NEWS....
  Fix compile warnings about comparison of unsigned expression always being true
  Bump OCI8 version
  Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Matteo Beccati [Sat, 7 Nov 2015 10:05:36 +0000 (11:05 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute

9 years agoFix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute
Matteo Beccati [Sat, 7 Nov 2015 09:35:45 +0000 (10:35 +0100)]
Fix bug #70875 Segmentation fault if wsdl has no targetNamespace attribute

9 years agoMerge remote-tracking branch 'origin/PHP-5.6' into PHP-7.0
Matteo Beccati [Sat, 7 Nov 2015 09:46:17 +0000 (10:46 +0100)]
Merge remote-tracking branch 'origin/PHP-5.6' into PHP-7.0

* origin/PHP-5.6:
  Always remember NEWS....
  Fix compile warnings about comparison of unsigned expression always being true
  Bump OCI8 version
  Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 6 Nov 2015 22:10:40 +0000 (23:10 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  fix decrement_function regarding bug #70863
  Fixed bug #70863 Incorect logic to increment_function for proxy objects
  no more dev ZEND_VERSION
  Add support for IPV6_V6ONLY on sockets

Conflicts:
Zend/zend.h

9 years agoupdate NEWS
Anatol Belski [Fri, 6 Nov 2015 22:08:18 +0000 (23:08 +0100)]
update NEWS

9 years agofix decrement_function regarding bug #70863
Anatol Belski [Fri, 6 Nov 2015 22:05:35 +0000 (23:05 +0100)]
fix decrement_function regarding bug #70863

9 years agoFixed bug #70863 Incorect logic to increment_function for proxy objects
Anatol Belski [Fri, 6 Nov 2015 22:03:15 +0000 (23:03 +0100)]
Fixed bug #70863 Incorect logic to increment_function for proxy objects

9 years agono more dev ZEND_VERSION
Anatol Belski [Fri, 6 Nov 2015 14:31:01 +0000 (15:31 +0100)]
no more dev ZEND_VERSION

9 years agoAdd support for IPV6_V6ONLY on sockets
Bob Weinand [Fri, 6 Nov 2015 20:41:51 +0000 (21:41 +0100)]
Add support for IPV6_V6ONLY on sockets

9 years agoMerge branch 'PHP-7.0'
Christopher Jones [Fri, 6 Nov 2015 15:25:18 +0000 (02:25 +1100)]
Merge branch 'PHP-7.0'

9 years agoFix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
Christopher Jones [Fri, 6 Nov 2015 15:24:17 +0000 (02:24 +1100)]
Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)

9 years agoAlways remember NEWS....
Christopher Jones [Fri, 6 Nov 2015 15:15:24 +0000 (02:15 +1100)]
Always remember NEWS....

9 years agoFix compile warnings about comparison of unsigned expression always being true
Christopher Jones [Fri, 6 Nov 2015 15:14:18 +0000 (02:14 +1100)]
Fix compile warnings about comparison of unsigned expression always being true

9 years agoBump OCI8 version
Christopher Jones [Fri, 6 Nov 2015 15:10:57 +0000 (02:10 +1100)]
Bump OCI8 version

9 years agoFix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)
Christopher Jones [Fri, 6 Nov 2015 14:56:50 +0000 (01:56 +1100)]
Fix bug 68298 (PHP OCI8 OCI int overflow) (Senthil)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 6 Nov 2015 03:38:59 +0000 (11:38 +0800)]
Merge branch 'PHP-7.0'

Conflicts:
NEWS

9 years agoFixed bug #70868 (PCRE JIT and pattern reuse segfault)
Xinchen Hui [Fri, 6 Nov 2015 03:37:17 +0000 (11:37 +0800)]
Fixed bug #70868 (PCRE JIT and pattern reuse segfault)

9 years agoadd failing test for bug #70868
Márcio Almada [Fri, 6 Nov 2015 01:20:49 +0000 (22:20 -0300)]
add failing test for bug #70868

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 21:51:43 +0000 (22:51 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

9 years agoupdate NEWS
Anatol Belski [Thu, 5 Nov 2015 21:51:25 +0000 (22:51 +0100)]
update NEWS

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 21:44:38 +0000 (22:44 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  use Z* macro name

9 years agouse Z* macro name
Anatol Belski [Thu, 5 Nov 2015 21:39:10 +0000 (22:39 +0100)]
use Z* macro name

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 21:25:56 +0000 (22:25 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix NULL deref in mbstring post handler
  fix NULL deref in pdo_firebird

9 years agofix NULL deref in mbstring post handler
Anatol Belski [Thu, 5 Nov 2015 21:24:47 +0000 (22:24 +0100)]
fix NULL deref in mbstring post handler

9 years agofix NULL deref in pdo_firebird
Anatol Belski [Thu, 5 Nov 2015 21:11:00 +0000 (22:11 +0100)]
fix NULL deref in pdo_firebird

ref #70862

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 21:06:59 +0000 (22:06 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix pdo_sqlite crash with empty bound stream
  fix leak

9 years agofix pdo_sqlite crash with empty bound stream
Anatol Belski [Thu, 5 Nov 2015 20:50:34 +0000 (21:50 +0100)]
fix pdo_sqlite crash with empty bound stream

9 years agofix leak
Anatol Belski [Thu, 5 Nov 2015 20:49:21 +0000 (21:49 +0100)]
fix leak

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 20:34:12 +0000 (21:34 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix pdo_mysql crash with empty bound stream param

9 years agofix pdo_mysql crash with empty bound stream param
Anatol Belski [Thu, 5 Nov 2015 20:32:31 +0000 (21:32 +0100)]
fix pdo_mysql crash with empty bound stream param

rel #70862

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Thu, 5 Nov 2015 18:51:18 +0000 (19:51 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  add test for bug #70861
  Fix setting of empty string resource.
  fix possible NULL deref in image functions