]>
granicus.if.org Git - php/log
Christoph M. Becker [Wed, 22 Aug 2018 11:51:55 +0000 (13:51 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #76778: array_reduce leaks memory if callback throws exception
Christoph M. Becker [Wed, 22 Aug 2018 11:50:46 +0000 (13:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #76778: array_reduce leaks memory if callback throws exception
Christoph M. Becker [Wed, 22 Aug 2018 11:48:32 +0000 (13:48 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix #76778: array_reduce leaks memory if callback throws exception
Nikita Popov [Wed, 22 Aug 2018 11:43:52 +0000 (13:43 +0200)]
Merge branch 'PHP-7.3'
Nikita Popov [Wed, 22 Aug 2018 11:39:33 +0000 (13:39 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Wed, 22 Aug 2018 11:32:55 +0000 (13:32 +0200)]
Fix #76778: array_reduce leaks memory if callback throws exception
We have to release the result variable in the error case, too.
Massimiliano Braglia [Tue, 21 Aug 2018 15:44:02 +0000 (17:44 +0200)]
Fixed bug #75797
Fix zend_register_class_alias_ex() to use non-persistent strings
for (non-persistent) userland classes.
Dmitry Stogov [Wed, 22 Aug 2018 11:01:14 +0000 (14:01 +0300)]
Use zend_class_entry/zend_function type names instead of _zend_class_entry/_zend_function tags.
Christoph M. Becker [Wed, 22 Aug 2018 10:55:17 +0000 (12:55 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76777 and added test
Christoph M. Becker [Wed, 22 Aug 2018 10:53:57 +0000 (12:53 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #76777 and added test
Christoph M. Becker [Wed, 22 Aug 2018 10:52:11 +0000 (12:52 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76777 and added test
Ville Hukkamaki [Wed, 22 Aug 2018 04:19:14 +0000 (06:19 +0200)]
Fixed bug #76777 and added test
Set undefined values to null rather than undefined.
Dmitry Stogov [Wed, 22 Aug 2018 10:45:56 +0000 (13:45 +0300)]
Introduced ZEND_COMPILE_IGNORE_OTHER_FILES compiler option, to allow "separate" file compilation (unaffected but previously compiled files), without CG(function_table)/CG(class_table) manipulation.
Nikita Popov [Wed, 22 Aug 2018 09:38:28 +0000 (11:38 +0200)]
Unify unpack checking in compile_special_func()
Instead of handling this separately for each specialized function,
do one check directly in zend_compile_special_func().
Nikita Popov [Wed, 22 Aug 2018 09:22:23 +0000 (11:22 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Tue, 21 Aug 2018 22:51:54 +0000 (23:51 +0100)]
Don't report mmap failure if it is expected
When using mmap with MAP_FIXED_NOREPLACE or MAP_FIXED|MAP_EXCL
an mmap failure is not an error condition, so do not print an
error message in this case.
Dmitry Stogov [Wed, 22 Aug 2018 07:44:34 +0000 (10:44 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Stop using zend_function->reserved[] space.
Dmitry Stogov [Wed, 22 Aug 2018 07:43:51 +0000 (10:43 +0300)]
Stop using zend_function->reserved[] space.
Dmitry Stogov [Wed, 22 Aug 2018 05:24:28 +0000 (08:24 +0300)]
Removed op_array->static_variables duplication code. They can't be "shared" during comilation.
Nikita Popov [Tue, 21 Aug 2018 11:43:29 +0000 (13:43 +0200)]
Drop dead code
var_ast is always a ZEND_AST_ZVAL.
Dmitry Stogov [Tue, 21 Aug 2018 10:21:56 +0000 (13:21 +0300)]
Cleanup
Dmitry Stogov [Tue, 21 Aug 2018 09:22:04 +0000 (12:22 +0300)]
Don't use second operand of BIND_STATIC instruction.
Nikita Popov [Tue, 21 Aug 2018 06:34:15 +0000 (08:34 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Sun, 19 Aug 2018 19:32:28 +0000 (20:32 +0100)]
Support fixed address mmap without replacement
We did not use MAP_FIXED here, because it may replace an existing
mapping. This commit adds support for MAP_FIXED_NOREPLACE (available
on newer Linux kernels) and MAP_FIXED|MAP_EXCL (available on FreeBSD),
which avoid this issue.
Dmitry Stogov [Tue, 21 Aug 2018 06:02:22 +0000 (09:02 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Removed dead code
Dmitry Stogov [Tue, 21 Aug 2018 06:01:54 +0000 (09:01 +0300)]
Removed dead code
Nikita Popov [Tue, 21 Aug 2018 04:27:27 +0000 (06:27 +0200)]
Merge branch 'PHP-7.3'
David Carlier [Mon, 13 Aug 2018 16:45:36 +0000 (17:45 +0100)]
Avoid directly adding to string literal
This fixes a Clang warning.
Dmitry Stogov [Mon, 20 Aug 2018 13:11:40 +0000 (16:11 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Avoid hash lookups in BIND_STATIC and BIND_LEXICAL opcode handlers. Encode static variable offset into opline->extended_value.
Dmitry Stogov [Mon, 20 Aug 2018 13:10:09 +0000 (16:10 +0300)]
Avoid hash lookups in BIND_STATIC and BIND_LEXICAL opcode handlers.
Encode static variable offset into opline->extended_value.
Christoph M. Becker [Mon, 20 Aug 2018 10:56:54 +0000 (12:56 +0200)]
Merge branch 'PHP-7.3'
Aaron Stone [Sun, 19 Aug 2018 16:48:52 +0000 (09:48 -0700)]
[ci skip] Correct minor typo (GC_GLAGS to GC_FLAGS)
Gabriel Caruso [Mon, 20 Aug 2018 00:33:41 +0000 (21:33 -0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Make array parsing parameters error messages consistency with ZPP failure
Gabriel Caruso [Sun, 5 Aug 2018 00:42:03 +0000 (21:42 -0300)]
Make array parsing parameters error messages consistency with ZPP failure
Jakub Zelenka [Sun, 19 Aug 2018 19:20:46 +0000 (20:20 +0100)]
Merge branch 'PHP-7.3'
Jakub Zelenka [Sun, 19 Aug 2018 19:19:48 +0000 (20:19 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Sun, 19 Aug 2018 19:19:01 +0000 (20:19 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Sun, 19 Aug 2018 19:14:26 +0000 (20:14 +0100)]
Fix bug #76705 (unusable ssl => peer_fingerprint in stream_context_create())
Christoph M. Becker [Sun, 19 Aug 2018 11:52:48 +0000 (13:52 +0200)]
Map ERROR_PRIVILEGE_NOT_HELD to EACCES
Attempting to create a symlink on Windows via the CLI SAPI without
administrative rights is likely to fail with ERROR_PRIVILEGE_NOT_HELD.
Therefore we map this Windows error to EACCES to get better diagnostics
and to avoid the assert() failure in debug mode.
Anatol Belski [Sat, 18 Aug 2018 18:06:14 +0000 (20:06 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Use stable deps on AppVeyor for now
Anatol Belski [Sat, 18 Aug 2018 18:05:51 +0000 (20:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Use stable deps on AppVeyor for now
Anatol Belski [Sat, 18 Aug 2018 18:04:19 +0000 (20:04 +0200)]
Use stable deps on AppVeyor for now
as long as the latest image is not synced with VC++ 15.8
Christoph M. Becker [Sat, 18 Aug 2018 12:39:35 +0000 (14:39 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:38:44 +0000 (14:38 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:37:04 +0000 (14:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Add regression test for bug #68175
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Christoph M. Becker [Sat, 18 Aug 2018 12:26:02 +0000 (14:26 +0200)]
Add regression test for bug #68175
Tim Siebels [Tue, 7 Oct 2014 11:02:12 +0000 (13:02 +0200)]
Fix #68175: RegexIterator pregFlags are NULL instead of 0
Anatol Belski [Fri, 17 Aug 2018 16:38:07 +0000 (18:38 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Add test for bug #76738
Anatol Belski [Fri, 17 Aug 2018 16:10:39 +0000 (18:10 +0200)]
Add test for bug #76738
Original repro. It's unwieldy, but it's otherwise hard to trigger
the wrong buffer handling behavior.
Anatol Belski [Fri, 17 Aug 2018 14:23:27 +0000 (16:23 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix memory leak
Anatol Belski [Fri, 17 Aug 2018 14:22:35 +0000 (16:22 +0200)]
Fix memory leak
Anatol Belski [Fri, 17 Aug 2018 13:47:03 +0000 (15:47 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:46:28 +0000 (15:46 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:45:31 +0000 (15:45 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Update binary SDK version for AppVeyor
Anatol Belski [Fri, 17 Aug 2018 13:44:10 +0000 (15:44 +0200)]
Update binary SDK version for AppVeyor
Christoph M. Becker [Fri, 17 Aug 2018 11:06:58 +0000 (13:06 +0200)]
Merge branch 'PHP-7.3'
Christoph M. Becker [Fri, 17 Aug 2018 11:06:27 +0000 (13:06 +0200)]
[ci skip] Update NEWS
Bug #76285 was supposed to have been fixed for 7.3.0alpha3, but that
has been reverted for 7.3.0beta2 due to bug #76738. Now that we have a
working fix in master, we backport the respective commits.
Anatol Belski [Tue, 14 Aug 2018 12:33:19 +0000 (14:33 +0200)]
Anatol Belski [Tue, 14 Aug 2018 12:14:05 +0000 (14:14 +0200)]
Followup fix for
ef9ed19e , see also bug #76738
(cherry picked from commit
083285f22a74989689f97d1d53476e7eaec35acc )
Xinchen Hui [Wed, 4 Jul 2018 03:15:32 +0000 (11:15 +0800)]
Fixed build
(cherry picked from commit
36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e )
Andrew Nester [Tue, 1 May 2018 12:04:46 +0000 (12:04 +0000)]
DOMDocument::formatOutput attribute sometimes ignored
(cherry picked from commit
ef9ed19ec7f141311feea1d42467f5773cfc09bc )
Xinchen Hui [Fri, 17 Aug 2018 08:20:37 +0000 (16:20 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed same bug #76755 in setrawcookie
Xinchen Hui [Fri, 17 Aug 2018 08:19:26 +0000 (16:19 +0800)]
Fixed same bug #76755 in setrawcookie
Xinchen Hui [Fri, 17 Aug 2018 07:22:50 +0000 (15:22 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Cheaper checking
Xinchen Hui [Fri, 17 Aug 2018 07:21:48 +0000 (15:21 +0800)]
Cheaper checking
Xinchen Hui [Fri, 17 Aug 2018 06:56:43 +0000 (14:56 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Micro optimization & fixed invalid key handling
Xinchen Hui [Fri, 17 Aug 2018 06:56:24 +0000 (14:56 +0800)]
Micro optimization & fixed invalid key handling
Xinchen Hui [Fri, 17 Aug 2018 05:46:08 +0000 (13:46 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76755 (setcookie does not accept "double" type for expire time)
Xinchen Hui [Fri, 17 Aug 2018 05:45:43 +0000 (13:45 +0800)]
Fixed bug #76755 (setcookie does not accept "double" type for expire time)
Xinchen Hui [Fri, 17 Aug 2018 05:36:34 +0000 (13:36 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS
Update NEWS
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 05:36:12 +0000 (13:36 +0800)]
Update NEWS
Xinchen Hui [Fri, 17 Aug 2018 05:36:03 +0000 (13:36 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 05:35:46 +0000 (13:35 +0800)]
Update NEWS
Xinchen Hui [Fri, 17 Aug 2018 05:35:31 +0000 (13:35 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 05:35:15 +0000 (13:35 +0800)]
Fixed bug #76754 (parent private constant in extends class memory leak)
Xinchen Hui [Fri, 17 Aug 2018 04:22:46 +0000 (12:22 +0800)]
Added a note
Xinchen Hui [Fri, 17 Aug 2018 04:19:42 +0000 (12:19 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed).
Xinchen Hui [Fri, 17 Aug 2018 04:19:31 +0000 (12:19 +0800)]
Fixed bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed).
Xinchen Hui [Thu, 16 Aug 2018 06:02:03 +0000 (14:02 +0800)]
Merge branch 'PHP-7.3' of git.php.net:/php-src into PHP-7.3
* 'PHP-7.3' of git.php.net:/php-src:
fix man page installation
Xinchen Hui [Thu, 16 Aug 2018 06:01:17 +0000 (14:01 +0800)]
Merge branch 'PHP-7.2' of git.php.net:/php-src into PHP-7.2
* 'PHP-7.2' of git.php.net:/php-src:
fix man page installation
Xinchen Hui [Thu, 16 Aug 2018 06:00:30 +0000 (14:00 +0800)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src:
fix man page installation
Xinchen Hui [Thu, 16 Aug 2018 05:59:39 +0000 (13:59 +0800)]
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src:
fix man page installation
Xinchen Hui [Thu, 16 Aug 2018 05:58:00 +0000 (13:58 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS
Update NEWS
Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file)
Xinchen Hui [Thu, 16 Aug 2018 05:57:15 +0000 (13:57 +0800)]
Update NEWS
Xinchen Hui [Thu, 16 Aug 2018 05:57:05 +0000 (13:57 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS
Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file)
Xinchen Hui [Thu, 16 Aug 2018 05:56:52 +0000 (13:56 +0800)]
Update NEWS
Xinchen Hui [Thu, 16 Aug 2018 05:56:37 +0000 (13:56 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file)
Xinchen Hui [Thu, 16 Aug 2018 05:56:20 +0000 (13:56 +0800)]
Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file)
Remi Collet [Thu, 16 Aug 2018 04:55:30 +0000 (06:55 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
fix man page installation
Remi Collet [Thu, 16 Aug 2018 04:55:14 +0000 (06:55 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
fix man page installation
Remi Collet [Thu, 16 Aug 2018 04:54:57 +0000 (06:54 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
fix man page installation
Remi Collet [Thu, 16 Aug 2018 04:53:56 +0000 (06:53 +0200)]
fix man page installation
Since
91996e7ee504311ff4eca9dbd5840114f75acbad
phpdbg.1 is in buildir, not in srcdir
Xinchen Hui [Wed, 15 Aug 2018 03:03:30 +0000 (11:03 +0800)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Added NEWs
Xinchen Hui [Wed, 15 Aug 2018 03:02:59 +0000 (11:02 +0800)]
Added NEWs
Anatol Belski [Tue, 14 Aug 2018 12:33:19 +0000 (14:33 +0200)]
Cleanup
Anatol Belski [Tue, 14 Aug 2018 12:14:05 +0000 (14:14 +0200)]
Followup fix for
ef9ed19e , see also bug #76738
Christoph M. Becker [Tue, 14 Aug 2018 11:37:03 +0000 (13:37 +0200)]
Merge branch 'PHP-7.3'
* PHP-7.3:
[ci skip] Update NEWS wrt. php-7.3.0beta2 tagging
Christoph M. Becker [Tue, 14 Aug 2018 11:36:15 +0000 (13:36 +0200)]
[ci skip] Update NEWS wrt. php-7.3.0beta2 tagging
Christoph M. Becker [Tue, 14 Aug 2018 10:15:02 +0000 (12:15 +0200)]
Merge branch 'PHP-7.3'
Christoph M. Becker [Tue, 14 Aug 2018 10:14:33 +0000 (12:14 +0200)]
Revert "DOMDocument::formatOutput attribute sometimes ignored"
This reverts commit
ef9ed19ec7f141311feea1d42467f5773cfc09bc and its
follow-up
36f05a80d7cf11fffb827c7f0b6c8e73d3846e8e , since these caused
a serious regression (see bug #76738).