]>
granicus.if.org Git - php/log
Christoph M. Becker [Tue, 22 Oct 2019 09:39:40 +0000 (11:39 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78716: Function name mangling is wrong for some parameter types
Christoph M. Becker [Tue, 22 Oct 2019 09:33:00 +0000 (11:33 +0200)]
Fix #78716: Function name mangling is wrong for some parameter types
We have to cater to function parameter alignment when calculating the
parameter size.
Nikita Popov [Mon, 21 Oct 2019 14:13:09 +0000 (16:13 +0200)]
Fix and undeprecate ReflectionType::__toString()
Add deprecated _ZendTestClass::__toString() method to preserve
an existing test.
ReflectionType::__toString() will now return a complete
representation of the type, as it should have originally. Users
that relied on nullability being absent should have been pushed
to ReflectionNamedType::getName() by the deprecation of
ReflectionType::__toString() in PHP 7.1 / PHP 7.4.
Nikita Popov [Tue, 22 Oct 2019 09:13:02 +0000 (11:13 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Add a run with opcache to the coverage job
Fabien Villepinte [Mon, 21 Oct 2019 19:48:33 +0000 (21:48 +0200)]
Add a run with opcache to the coverage job
Some tests are not run when OPcache is not available.
This should make the results more accurate.
Christoph M. Becker [Tue, 22 Oct 2019 07:53:05 +0000 (09:53 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update NEWS
Christoph M. Becker [Tue, 22 Oct 2019 07:51:44 +0000 (09:51 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update NEWS
Christoph M. Becker [Tue, 22 Oct 2019 07:50:11 +0000 (09:50 +0200)]
Update NEWS
Remi Collet [Tue, 22 Oct 2019 07:38:18 +0000 (09:38 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
add NEWS entry
Remi Collet [Tue, 22 Oct 2019 07:38:05 +0000 (09:38 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
add NEWS entry
Remi Collet [Tue, 22 Oct 2019 07:37:51 +0000 (09:37 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
add NEWS entry
Remi Collet [Tue, 22 Oct 2019 07:37:35 +0000 (09:37 +0200)]
add NEWS entry
Stanislav Malyshev [Mon, 21 Oct 2019 20:17:32 +0000 (13:17 -0700)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
bump versions after release
set versions for release
Stanislav Malyshev [Mon, 21 Oct 2019 20:17:27 +0000 (13:17 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
bump versions after release
set versions for release
Stanislav Malyshev [Mon, 21 Oct 2019 20:17:19 +0000 (13:17 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
bump versions after release
set versions for release
Stanislav Malyshev [Mon, 21 Oct 2019 20:17:09 +0000 (13:17 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
bump versions after release
set versions for release
Fabien Villepinte [Mon, 21 Oct 2019 19:33:30 +0000 (21:33 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Mon, 21 Oct 2019 19:31:36 +0000 (21:31 +0200)]
Revert "Add tests for ReflectionZendExtension"
This reverts commit
4194e0415b02827b0d5eeff13771eb6642955b0f .
There were already tests for this class.
Fabien Villepinte [Mon, 21 Oct 2019 19:17:50 +0000 (21:17 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Mon, 21 Oct 2019 19:17:16 +0000 (21:17 +0200)]
Add tests for ReflectionZendExtension
Dmitry Stogov [Mon, 21 Oct 2019 11:53:03 +0000 (14:53 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #78512 (Cannot make preload work)
Dmitry Stogov [Mon, 21 Oct 2019 11:52:26 +0000 (14:52 +0300)]
Fixed bug #78512 (Cannot make preload work)
Nikita Popov [Mon, 21 Oct 2019 10:17:43 +0000 (12:17 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix static prop cleanup for dl'ed internal classes
Nikita Popov [Mon, 21 Oct 2019 09:30:00 +0000 (11:30 +0200)]
Fix static prop cleanup for dl'ed internal classes
Nikita Popov [Mon, 21 Oct 2019 08:27:35 +0000 (10:27 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix leak with cycle in static prop of internal class
Nikita Popov [Mon, 21 Oct 2019 08:26:10 +0000 (10:26 +0200)]
Fix leak with cycle in static prop of internal class
More the cleanup of interned classes before the final GC run,
just like it is done for user classes.
Christoph M. Becker [Sun, 20 Oct 2019 16:37:33 +0000 (18:37 +0200)]
Add ext/sodium arginfo stubs
Joe Watkins [Mon, 21 Oct 2019 07:24:57 +0000 (09:24 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix bug #78697: inaccurate error message
Joe Watkins [Mon, 21 Oct 2019 07:23:44 +0000 (09:23 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug #78697: inaccurate error message
Joe Watkins [Mon, 21 Oct 2019 07:22:32 +0000 (09:22 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug #78697: inaccurate error message
Fabien Villepinte [Sat, 19 Oct 2019 19:27:37 +0000 (21:27 +0200)]
Fix bug #78697: inaccurate error message
Stanislav Malyshev [Mon, 21 Oct 2019 06:20:26 +0000 (23:20 -0700)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78633: Heap buffer overflow (read) in mb_eregi
Stanislav Malyshev [Mon, 21 Oct 2019 06:20:16 +0000 (23:20 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78633: Heap buffer overflow (read) in mb_eregi
Jakub Zelenka [Sat, 12 Oct 2019 14:56:16 +0000 (15:56 +0100)]
Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
Christoph M. Becker [Fri, 4 Oct 2019 17:02:37 +0000 (19:02 +0200)]
Fix #78633: Heap buffer overflow (read) in mb_eregi
We backport kkos/oniguruma@
15c4228aa2ffa02140a99912dd3177df0b1841c6 .
Jakub Zelenka [Sun, 20 Oct 2019 15:59:30 +0000 (16:59 +0100)]
Merge branch 'PHP-7.4'
Jakub Zelenka [Sun, 20 Oct 2019 15:58:13 +0000 (16:58 +0100)]
Add NEWS for the fixed bug #74083
Maksim Nikulin [Thu, 25 Jul 2019 06:15:35 +0000 (13:15 +0700)]
Skip fpm bug #74083 test on Windows
Have not expected side effects of `include`.
Maksim Nikulin [Thu, 25 Jul 2019 04:41:36 +0000 (11:41 +0700)]
Add (slow) test for fpm concurrent reloads #74083
Maksim Nikulin [Wed, 24 Jul 2019 09:50:57 +0000 (16:50 +0700)]
Block signals during fpm master initialization
Fix PHP-FPM failure in the case of concurrent reload attempts.
Postpone signal delivery to the fpm master process till proper signal
handlers are set. Prevent the following case:
- Running master process receives `SIGUSR2` and performs `execvp()`.
- Another `SIGUSR2` is arrived before signal handlers are set.
- Master process dies.
- Requests to the HTTP server handled by PHP-fpm can not be served
any more.
Block some signals using `sigprocmask()` before `execvp()` and early
in the `main()` function. Unblock signals as soon as proper
handlers are set.
Fixes bug #74083
Fabien Villepinte [Sun, 20 Oct 2019 08:57:31 +0000 (10:57 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Sun, 20 Oct 2019 08:55:27 +0000 (10:55 +0200)]
Improve the error message in timeout tests
Closes GH-4818.
Fabien Villepinte [Sat, 19 Oct 2019 20:12:18 +0000 (22:12 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Sat, 19 Oct 2019 20:11:34 +0000 (22:11 +0200)]
Fix proto of enchant_broker_list_dicts()
Christoph M. Becker [Sat, 19 Oct 2019 17:20:25 +0000 (19:20 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix miscellaneous typos in docs
Tyson Andre [Sat, 19 Oct 2019 16:42:57 +0000 (12:42 -0400)]
Fix miscellaneous typos in docs
Fabien Villepinte [Sat, 19 Oct 2019 13:44:57 +0000 (15:44 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Sat, 19 Oct 2019 13:42:16 +0000 (15:42 +0200)]
Add tests for DOMEntityReference
Christoph M. Becker [Sat, 19 Oct 2019 10:59:59 +0000 (12:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78684: PCRE bug72463_2 test is sending emails on Linux
Christoph M. Becker [Sat, 19 Oct 2019 10:53:29 +0000 (12:53 +0200)]
Fix #78684: PCRE bug72463_2 test is sending emails on Linux
This test is not supposed to run on non Windows systems; otherwise it
would try to send an email.
Christoph M. Becker [Sat, 19 Oct 2019 09:52:38 +0000 (11:52 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78694: Appending to a variant array causes segfault
Christoph M. Becker [Sat, 19 Oct 2019 09:50:41 +0000 (11:50 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78694: Appending to a variant array causes segfault
Christoph M. Becker [Sat, 19 Oct 2019 09:48:40 +0000 (11:48 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78694: Appending to a variant array causes segfault
Christoph M. Becker [Sat, 19 Oct 2019 09:41:28 +0000 (11:41 +0200)]
Fix #78694: Appending to a variant array causes segfault
`write_dimension` object handlers have to be able to handle `NULL`
`offset`s; for now we simply throw an exception instead of following
the `NULL` pointer.
Nikita Popov [Fri, 18 Oct 2019 14:55:46 +0000 (16:55 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Improve exif tag name fetching
Implement a cache for exif tag name lookups
Limit the amount of errors generated during exif parsing
Nikita Popov [Wed, 9 Oct 2019 13:55:48 +0000 (15:55 +0200)]
Improve exif tag name fetching
Nikita Popov [Wed, 9 Oct 2019 13:39:03 +0000 (15:39 +0200)]
Implement a cache for exif tag name lookups
Nikita Popov [Wed, 9 Oct 2019 13:07:51 +0000 (15:07 +0200)]
Limit the amount of errors generated during exif parsing
Emitting errors is fairly expensive, to the point that parsing
a file with a huge number of invalid tags can take seconds.
Generating ten thousand errors is unlikely to help anybody, but
constitutes a potential DOS vector.
Christoph M. Becker [Fri, 18 Oct 2019 14:24:14 +0000 (16:24 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix test case
Christoph M. Becker [Fri, 18 Oct 2019 14:23:56 +0000 (16:23 +0200)]
Fix test case
Cf. <https://github.com/php/php-src/pull/4687>.
Christoph M. Becker [Fri, 18 Oct 2019 13:33:58 +0000 (15:33 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #70153 \DateInterval incorrectly unserialized
Christoph M. Becker [Fri, 18 Oct 2019 13:32:58 +0000 (15:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #70153 \DateInterval incorrectly unserialized
Christoph M. Becker [Fri, 18 Oct 2019 13:31:48 +0000 (15:31 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #70153 \DateInterval incorrectly unserialized
m.yakunin [Mon, 16 Sep 2019 16:50:55 +0000 (18:50 +0200)]
Fix #70153 \DateInterval incorrectly unserialized
Added a separate macro for reading 'days' property, so that bool(false)
is correctly converted to the proper internal representation.
Christoph M. Becker [Sat, 12 Oct 2019 21:05:56 +0000 (23:05 +0200)]
Properly handle non resources passed to socket_select()
As of PHP 8.0.0, failing `zend_fetch_resource_ex()` throws a TypeError,
so we cannot simply skip non resources in the `$read`, `$write` and
`$except` arrays. Instead we bail out. Since these arrays are already
checked in `php_sock_array_to_fd_set()`, we remove the additional check
in `php_sock_array_from_fd_set()`.
Christoph M. Becker [Thu, 17 Oct 2019 21:40:30 +0000 (23:40 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update array access syntax deprecated
Alex Porto dos Santos [Thu, 17 Oct 2019 18:39:22 +0000 (15:39 -0300)]
Update array access syntax deprecated
Update array access syntax deprecated in line 175 and 204
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/alex/php/hello/ext_skel.php on line 175
Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/alex/php/hello/ext_skel.php on line 204
Dmitry Stogov [Thu, 17 Oct 2019 21:11:30 +0000 (00:11 +0300)]
Clenup "smart branch" handling
Dmitry Stogov [Thu, 17 Oct 2019 20:31:47 +0000 (23:31 +0300)]
Fixed wrong shift
Nikita Popov [Thu, 17 Oct 2019 13:43:18 +0000 (15:43 +0200)]
Pass cache slot when printing type errors
Instead of using a separate ce.
Nikita Popov [Thu, 17 Oct 2019 11:42:47 +0000 (13:42 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Integrate property types with variance system
Nikita Popov [Thu, 17 Oct 2019 11:01:02 +0000 (13:01 +0200)]
Integrate property types with variance system
Property types are invariant, but may still have to load classes in
order to check for class aliases. This class loading should follow
the same rules as all other variance checks, rather than just
loading unconditionally.
This change integrates property type invariance checks into the
variance system as a new obligation type, and prevent early binding
if the type check cannot be performed.
Dmitry Stogov [Thu, 17 Oct 2019 09:55:36 +0000 (12:55 +0300)]
Relay on DO_ICALL/DO_UCALL opcode to avoid generation of useless code
Dmitry Stogov [Wed, 16 Oct 2019 19:38:01 +0000 (22:38 +0300)]
Fixed exception handling
Fabien Villepinte [Wed, 16 Oct 2019 18:53:52 +0000 (20:53 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Wed, 16 Oct 2019 18:50:54 +0000 (20:50 +0200)]
Change port to avoid collision with others tests
The 64321 port is already used with the ext/openssl tests.
Dmitry Stogov [Wed, 16 Oct 2019 09:28:30 +0000 (12:28 +0300)]
Clenup "smart branch" handling
Dmitry Stogov [Tue, 15 Oct 2019 23:36:06 +0000 (02:36 +0300)]
Fixed exception handling
Dmitry Stogov [Tue, 15 Oct 2019 22:26:35 +0000 (01:26 +0300)]
Fixed exception source
Derick Rethans [Tue, 15 Oct 2019 20:01:05 +0000 (21:01 +0100)]
Merge branch 'PHP-7.4'
Derick Rethans [Tue, 15 Oct 2019 20:00:57 +0000 (21:00 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Tue, 15 Oct 2019 20:00:39 +0000 (21:00 +0100)]
Import timelib version 2018.03
Fabien Villepinte [Tue, 15 Oct 2019 19:56:44 +0000 (21:56 +0200)]
Test an error case with DOMDocument::createEntityReference
Sara Golemon [Tue, 15 Oct 2019 19:38:24 +0000 (15:38 -0400)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Silence undefined index warning when openssl not available.
Sara Golemon [Tue, 15 Oct 2019 19:37:56 +0000 (15:37 -0400)]
Silence undefined index warning when openssl not available.
Christoph M. Becker [Tue, 15 Oct 2019 14:30:07 +0000 (16:30 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Prevent parallel testing conflicts
Christoph M. Becker [Tue, 15 Oct 2019 14:11:49 +0000 (16:11 +0200)]
Prevent parallel testing conflicts
disk_free_space_basic.phpt already uses this directory, so we rename
it.
Christoph M. Becker [Tue, 15 Oct 2019 14:28:04 +0000 (16:28 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update NEWS for 7.4.0RC5
Update NEWS for PHP 7.4.0RC4
Christoph M. Becker [Tue, 15 Oct 2019 12:30:23 +0000 (14:30 +0200)]
Add Zend class/interface arginfo stubs
We also change `Generator::throw()` to expect a `Throwable` in the
first place, and we now throw a TypeError instead of returning `false`
from `Exception::getTraceAsString()`.
Derick Rethans [Tue, 15 Oct 2019 11:29:33 +0000 (11:29 +0000)]
Update NEWS for 7.4.0RC5
Derick Rethans [Tue, 15 Oct 2019 11:28:15 +0000 (11:28 +0000)]
Update NEWS for PHP 7.4.0RC4
Nikita Popov [Tue, 15 Oct 2019 09:46:48 +0000 (11:46 +0200)]
Promote "Cannot use parent" to fatal error
Dmitry Stogov [Tue, 15 Oct 2019 08:06:11 +0000 (11:06 +0300)]
Use "const" qualifier
Dmitry Stogov [Mon, 14 Oct 2019 18:49:08 +0000 (21:49 +0300)]
Use "const" qualifier
Dmitry Stogov [Mon, 14 Oct 2019 18:47:46 +0000 (21:47 +0300)]
Fixed compilation warning
Dmitry Stogov [Mon, 14 Oct 2019 18:32:10 +0000 (21:32 +0300)]
Fixed incorrect JIT compilation
Joe Watkins [Mon, 14 Oct 2019 14:50:36 +0000 (16:50 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix checksum calculation for opcache
Joe Watkins [Mon, 14 Oct 2019 14:50:06 +0000 (16:50 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix checksum calculation for opcache
Joe Watkins [Mon, 14 Oct 2019 14:48:48 +0000 (16:48 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix checksum calculation for opcache
Mitch Hagstrand [Wed, 9 Oct 2019 08:38:11 +0000 (03:38 -0500)]
Fix checksum calculation for opcache