]> granicus.if.org Git - php/log
php
9 years agoImproved previously fix a little
Xinchen Hui [Fri, 20 Nov 2015 14:54:57 +0000 (06:54 -0800)]
Improved previously fix a little

9 years agoFixed bug #70947 (INI parser segfault with INI_SCANNER_TYPED)
Xinchen Hui [Fri, 20 Nov 2015 14:37:38 +0000 (06:37 -0800)]
Fixed bug #70947 (INI parser segfault with INI_SCANNER_TYPED)

9 years agoUpdate NEWS
Xinchen Hui [Fri, 20 Nov 2015 08:38:24 +0000 (16:38 +0800)]
Update NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 20 Nov 2015 08:38:00 +0000 (16:38 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
Zend/zend_exceptions.c

9 years agoFixed bug #70944 (try{ } finally{} can create infinite chains of exceptions)
Xinchen Hui [Fri, 20 Nov 2015 08:24:53 +0000 (16:24 +0800)]
Fixed bug #70944 (try{ } finally{} can create infinite chains of exceptions)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 20 Nov 2015 07:36:26 +0000 (15:36 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoThis seems better
Xinchen Hui [Fri, 20 Nov 2015 07:36:13 +0000 (15:36 +0800)]
This seems better

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 20 Nov 2015 07:22:45 +0000 (15:22 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoFixed build error "undefined symbol gdJpegGetVersionString"
Xinchen Hui [Fri, 20 Nov 2015 07:22:05 +0000 (15:22 +0800)]
Fixed build error "undefined symbol gdJpegGetVersionString"

9 years agoFixed LOB implementation size_t/zend_long mismatch reported by gcov
Christopher Jones [Thu, 19 Nov 2015 22:14:05 +0000 (09:14 +1100)]
Fixed LOB implementation size_t/zend_long mismatch reported by gcov

9 years agoStablize test on Windows
Christopher Jones [Thu, 19 Nov 2015 22:13:47 +0000 (09:13 +1100)]
Stablize test on Windows

9 years agotypo
Remi Collet [Thu, 19 Nov 2015 08:20:13 +0000 (09:20 +0100)]
typo

9 years agoNEWS
Remi Collet [Thu, 19 Nov 2015 07:19:04 +0000 (08:19 +0100)]
NEWS

9 years agoFixed bug #70940 Segfault in soep / type_to_string
Remi Collet [Thu, 19 Nov 2015 07:18:13 +0000 (08:18 +0100)]
Fixed bug #70940 Segfault in soep / type_to_string

9 years agoFixed bug #70899 (buildconf failure in extensions)
Bob Weinand [Tue, 17 Nov 2015 20:06:39 +0000 (21:06 +0100)]
Fixed bug #70899 (buildconf failure in extensions)

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Tue, 17 Nov 2015 12:14:11 +0000 (20:14 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Tue, 17 Nov 2015 12:13:22 +0000 (20:13 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

9 years agoImprove the test
Xinchen Hui [Tue, 17 Nov 2015 12:12:50 +0000 (20:12 +0800)]
Improve the test

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Andrey Hristov [Mon, 16 Nov 2015 11:39:04 +0000 (12:39 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoNews for fixed bug #68344
Andrey Hristov [Mon, 16 Nov 2015 11:38:25 +0000 (12:38 +0100)]
News for fixed bug #68344

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Mon, 16 Nov 2015 09:59:46 +0000 (17:59 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/mysql/php_mysql.c

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Mon, 16 Nov 2015 09:00:16 +0000 (17:00 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

9 years agoFixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)
Xinchen Hui [Mon, 16 Nov 2015 08:58:19 +0000 (16:58 +0800)]
Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction)

Actually, this only be fixed if php uses mysqlnd

9 years agoAdded back support for undocummented host:port syntax
Côme Bernigaud [Mon, 16 Nov 2015 03:50:12 +0000 (04:50 +0100)]
Added back support for undocummented host:port syntax

9 years agoFixed LOB mem leak reported on gcov. Also fixed unsigend comparison compile warning...
Christopher Jones [Sun, 15 Nov 2015 21:15:22 +0000 (08:15 +1100)]
Fixed LOB mem leak reported on gcov.  Also fixed unsigend comparison compile warning; and remove direct field access

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Jakub Zelenka [Sun, 15 Nov 2015 19:13:49 +0000 (19:13 +0000)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoUse the same CS for all json tests
Jakub Zelenka [Sun, 15 Nov 2015 19:06:09 +0000 (19:06 +0000)]
Use the same CS for all json tests

9 years agoFixed bug #70917 install-pear-nozlib.phar missing
Anatol Belski [Sun, 15 Nov 2015 17:57:10 +0000 (18:57 +0100)]
Fixed bug #70917 install-pear-nozlib.phar missing

The actual bug is caused by some network error while packaged. An
error check added to interrupt the packaging process if phar package
download failed.

9 years agoUpdate mime type generator script to keep track of additional mime-types
Reeze Xia [Sun, 15 Nov 2015 03:08:14 +0000 (11:08 +0800)]
Update mime type generator script to keep track of additional mime-types

9 years agoAdded support for CSS/JavaScript source maps
Thorsten Rinne [Wed, 11 Nov 2015 07:34:36 +0000 (08:34 +0100)]
Added support for CSS/JavaScript source maps

Source maps (http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/) are basically a way to map a combined/minified file back to an unbuilt state. To avoid error messages in Browser DevTools, source map files should be served with the MIME type "application/json"

9 years agofix test title
Anatol Belski [Sat, 14 Nov 2015 23:03:40 +0000 (00:03 +0100)]
fix test title

c/p mistake :)

9 years agoupdate NEWS
Anatol Belski [Sat, 14 Nov 2015 22:48:40 +0000 (23:48 +0100)]
update NEWS

9 years agoFixed bug #70914 zend_throw_or_error() format string vulnerability
Taoguang Chen [Sat, 14 Nov 2015 22:44:59 +0000 (23:44 +0100)]
Fixed bug #70914 zend_throw_or_error() format string vulnerability

9 years agoUpdate NEWs
Xinchen Hui [Sat, 14 Nov 2015 09:14:36 +0000 (01:14 -0800)]
Update NEWs

9 years agoFixed bug #70910 (extract() breaks variable references)
Xinchen Hui [Sat, 14 Nov 2015 03:39:59 +0000 (19:39 -0800)]
Fixed bug #70910 (extract() breaks variable references)

9 years agoFixed bug #70912 (Null ptr dereference instantiating class with invalid array property)
Xinchen Hui [Fri, 13 Nov 2015 13:01:11 +0000 (21:01 +0800)]
Fixed bug #70912 (Null ptr dereference instantiating class with invalid array property)

9 years agoUse distinguishable error messages.
Yasuo Ohgaki [Fri, 13 Nov 2015 12:22:59 +0000 (21:22 +0900)]
Use distinguishable error messages.

9 years agoSKIP on slow debug version PHP
Xinchen Hui [Fri, 13 Nov 2015 06:00:01 +0000 (14:00 +0800)]
SKIP on slow debug version PHP

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Thu, 12 Nov 2015 17:36:39 +0000 (20:36 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #70900 (SoapClient systematic out of memory error)

9 years agoFixed bug #70900 (SoapClient systematic out of memory error)
Dmitry Stogov [Thu, 12 Nov 2015 17:31:52 +0000 (20:31 +0300)]
Fixed bug #70900 (SoapClient systematic out of memory error)

9 years agofixed typo
Anatol Belski [Thu, 12 Nov 2015 12:37:45 +0000 (13:37 +0100)]
fixed typo

9 years agoadd test for bug #70898
Anatol Belski [Thu, 12 Nov 2015 08:28:10 +0000 (09:28 +0100)]
add test for bug #70898

9 years agoAlso protects this one
Xinchen Hui [Thu, 12 Nov 2015 06:51:19 +0000 (14:51 +0800)]
Also protects this one

9 years agoUpdate NEWS
Xinchen Hui [Thu, 12 Nov 2015 06:38:16 +0000 (14:38 +0800)]
Update NEWS

9 years agoRe-fixed #70895
Xinchen Hui [Thu, 12 Nov 2015 06:35:34 +0000 (14:35 +0800)]
Re-fixed #70895

9 years agoRevert "Fixed bug Bug #70895 null ptr deref and segfault"
Xinchen Hui [Thu, 12 Nov 2015 06:34:00 +0000 (14:34 +0800)]
Revert "Fixed bug Bug #70895 null ptr deref and segfault"

This reverts commit 8eef11d3179fe7c6fed8393c1bbae96fcab05c49.

9 years agoRevert "refix bug #70895"
Xinchen Hui [Thu, 12 Nov 2015 06:33:14 +0000 (14:33 +0800)]
Revert "refix bug #70895"

This reverts commit 93240102e0830802ca1b27ccabd9a899a1de7570.

9 years agoRevert "Fixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))"
Xinchen Hui [Thu, 12 Nov 2015 06:32:35 +0000 (14:32 +0800)]
Revert "Fixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))"

This reverts commit e4e54f33ceb4ecce33397c867b45862af85c1fda.

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Thu, 12 Nov 2015 06:20:03 +0000 (14:20 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

9 years agoFixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))
Xinchen Hui [Thu, 12 Nov 2015 06:18:02 +0000 (14:18 +0800)]
Fixed bug #70898 (SIGBUS/GPF zend_mm_alloc_small (zend_alloc.c:1291))

Include tail \0

9 years agoUsing default port in ldap_connect when NULL is passed (this was the behavior prior...
Côme Bernigaud [Thu, 12 Nov 2015 06:04:09 +0000 (07:04 +0100)]
Using default port in ldap_connect when NULL is passed (this was the behavior prior to 5.6.11)

Note that passing 0 will also result in default port.

9 years agoupdate NEWS
Anatol Belski [Thu, 12 Nov 2015 00:41:59 +0000 (01:41 +0100)]
update NEWS

9 years agorefix bug #70895
Anatol Belski [Thu, 12 Nov 2015 00:39:02 +0000 (01:39 +0100)]
refix bug #70895

move this code to where it belongs, no behavior change to actual
throwing function, thus retaining compat with old ZPP

9 years agoFixed bug Bug #70895 null ptr deref and segfault
Anatol Belski [Wed, 11 Nov 2015 23:52:36 +0000 (00:52 +0100)]
Fixed bug Bug #70895 null ptr deref and segfault

9 years agofix format macro names in UPGRADING.INTERNALS
Anatol Belski [Wed, 11 Nov 2015 15:32:26 +0000 (16:32 +0100)]
fix format macro names in UPGRADING.INTERNALS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 11 Nov 2015 13:59:31 +0000 (14:59 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Ensure the test fails

9 years agoEnsure the test fails
Xinchen Hui [Wed, 11 Nov 2015 11:51:33 +0000 (19:51 +0800)]
Ensure the test fails

9 years agoEnsure the test fails
Xinchen Hui [Wed, 11 Nov 2015 11:51:33 +0000 (19:51 +0800)]
Ensure the test fails

9 years agoupdate NEWS, patch for #70249 pulled into RC7
Anatol Belski [Wed, 11 Nov 2015 11:20:18 +0000 (12:20 +0100)]
update NEWS, patch for #70249 pulled into RC7

9 years agoadjust test expectation
Anatol Belski [Tue, 10 Nov 2015 10:06:22 +0000 (11:06 +0100)]
adjust test expectation

9 years agofix test filename and title
Anatol Belski [Tue, 10 Nov 2015 10:01:53 +0000 (11:01 +0100)]
fix test filename and title

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 11 Nov 2015 08:21:32 +0000 (09:21 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  propare for 5.6.16RC1

9 years agopropare for 5.6.16RC1
Ferenc Kovacs [Wed, 11 Nov 2015 08:20:16 +0000 (09:20 +0100)]
propare for 5.6.16RC1

9 years agoRe-Fixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB 3.2...
Xinchen Hui [Wed, 11 Nov 2015 04:31:45 +0000 (12:31 +0800)]
Re-Fixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB 3.2-dev)

Let's fixed this in the root instead

9 years agoRevert "Fixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB...
Xinchen Hui [Wed, 11 Nov 2015 04:06:38 +0000 (12:06 +0800)]
Revert "Fixed bug #70249 (Segmentation fault while running PHPUnit tests on phpBB 3.2-dev)"

This reverts commit d6c527830e57c85356916e2efc2e6f120d493051.

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 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 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 agoUnused var
Xinchen Hui [Tue, 10 Nov 2015 07:54:32 +0000 (15:54 +0800)]
Unused var

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' 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 '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 agoadd test for eb32da13
Anatol Belski [Mon, 9 Nov 2015 21:45:22 +0000 (22:45 +0100)]
add test for eb32da13

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

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-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 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 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 agoUpdate NEWS
Xinchen Hui [Mon, 9 Nov 2015 04:02:27 +0000 (12:02 +0800)]
Update NEWS

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 '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 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 agorm duplicate include
Lynn [Wed, 28 Oct 2015 03:21:15 +0000 (11:21 +0800)]
rm duplicate include

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 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 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 agoUse defined macro
Xinchen Hui [Sat, 7 Nov 2015 15:43:18 +0000 (07:43 -0800)]
Use defined macro

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 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 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 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