]>
granicus.if.org Git - php/log
Christoph M. Becker [Tue, 5 Feb 2019 22:04:31 +0000 (23:04 +0100)]
Fix NEWS
Bug #77287 is already fixed in PHP 7.3.2.
Christoph M. Becker [Sun, 3 Feb 2019 17:28:43 +0000 (18:28 +0100)]
[ci skip] Add missing notes regarding gc_status()
Joe Watkins [Sun, 3 Feb 2019 07:41:26 +0000 (08:41 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Properly check for array_replace_recursive in sccp.c
Tyson Andre [Sat, 2 Feb 2019 01:54:21 +0000 (20:54 -0500)]
Properly check for array_replace_recursive in sccp.c
Due to a typo, this code used to check for array_merge_recursive
twice.
Dmitry Stogov [Fri, 1 Feb 2019 08:11:15 +0000 (11:11 +0300)]
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)
Joe Watkins [Wed, 30 Jan 2019 17:28:09 +0000 (18:28 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug 76596: phpdbg supports display_errors=stderr
Kevin Abel [Mon, 9 Jul 2018 02:18:20 +0000 (21:18 -0500)]
Fix bug 76596: phpdbg supports display_errors=stderr
Guillaume Degoulet [Wed, 30 Jan 2019 10:38:17 +0000 (11:38 +0100)]
Fix #77546 iptcembed broken function
Christoph M. Becker [Wed, 30 Jan 2019 00:29:05 +0000 (01:29 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Prepare main branch for PHP 7.2.16
Christoph M. Becker [Wed, 30 Jan 2019 00:27:57 +0000 (01:27 +0100)]
Prepare main branch for PHP 7.2.16
Nikita Popov [Tue, 29 Jan 2019 08:40:06 +0000 (09:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 29 Jan 2019 08:39:12 +0000 (09:39 +0100)]
Make special assert() handling independent of compiler flags
Nikita Popov [Mon, 28 Jan 2019 08:22:49 +0000 (09:22 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
ekinhbayar [Mon, 28 Jan 2019 06:46:29 +0000 (09:46 +0300)]
Fixed bug #77530: PHP crashes when parsing "(2)::class"
Jakub Zelenka [Fri, 25 Jan 2019 14:16:08 +0000 (14:16 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Thu, 17 Jan 2019 18:05:13 +0000 (18:05 +0000)]
Fix bug #77390 (feof might hang on TLS streams in case of fragmented TLS records)
Simplified version of the fix from Abyl Valg so credit to him.
Jakub Zelenka [Wed, 16 Jan 2019 18:14:30 +0000 (18:14 +0000)]
Update and integrate openssl client proxy test
Abyr Valg [Sun, 29 Apr 2018 09:05:59 +0000 (12:05 +0300)]
Add a test for fragmented SSL packets
Nikita Popov [Fri, 25 Jan 2019 10:00:35 +0000 (11:00 +0100)]
Fixed bug #77498
I've renamed the function to the same name as the exported symbol
in master.
Nikita Popov [Thu, 24 Jan 2019 14:13:49 +0000 (15:13 +0100)]
Fixed bug #77514
Nikita Popov [Thu, 24 Jan 2019 12:45:40 +0000 (13:45 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 12:45:27 +0000 (13:45 +0100)]
Merge remote-tracking branch 'php-src/PHP-7.2' into PHP-7.2
Nikita Popov [Thu, 24 Jan 2019 12:40:36 +0000 (13:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 12:36:47 +0000 (13:36 +0100)]
Revert "Prefix error_code with underscore in FastZPP implementation"
This reverts commit
6305119a5193d4318add01190ca4afbb49ded102 .
This is a source-compatibility break for extensions that define
custom FastZPP macros, such as ext/uv:
https://github.com/bwoebi/php-uv/blob/
a983eb17b69f74a45d785ddc6a7bff3d4531b88c /php_uv.c#L75
I don't think that FastZPP was intended to be used this way, but
let's revert this from release branches to avoid extension breakage.
Dmitry Stogov [Thu, 24 Jan 2019 10:07:31 +0000 (13:07 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #77494 (Disabling class causes segfault on member access)
Dmitry Stogov [Thu, 24 Jan 2019 10:06:36 +0000 (13:06 +0300)]
Fixed bug #77494 (Disabling class causes segfault on member access)
Nikita Popov [Thu, 24 Jan 2019 09:57:45 +0000 (10:57 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 09:56:04 +0000 (10:56 +0100)]
Add flag to disable jumptable optimization
This is useful for coverage. While it is currently safe to just
skip over the SWITCH_* opcodes, this may not be true in the future
due to opcache optimizations, so it's safer to disable emission of
SWITCH_* opcodes entirely.
Christoph M. Becker [Tue, 22 Jan 2019 13:04:03 +0000 (14:04 +0100)]
Prepare main branch for PHP 7.3.3
Nikita Popov [Tue, 22 Jan 2019 11:15:06 +0000 (12:15 +0100)]
Fixed bug #77287
There may be an EXT_NOP opcode before the parameter list, we should
skip over it.
George Wang [Sun, 20 Jan 2019 20:11:37 +0000 (15:11 -0500)]
Merge branch 'PHP-7.2' into PHP-7.3
George Wang [Sun, 20 Jan 2019 20:10:19 +0000 (15:10 -0500)]
Checkin LiteSpeed SAPI 7.2.
Anatol Belski [Sun, 20 Jan 2019 15:00:25 +0000 (16:00 +0100)]
Update NEWS [ci skip]
Anatol Belski [Sun, 20 Jan 2019 14:59:08 +0000 (15:59 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS [ci skip]
Anatol Belski [Sun, 20 Jan 2019 14:58:19 +0000 (15:58 +0100)]
Update NEWS [ci skip]
Anatol Belski [Sat, 19 Jan 2019 12:53:32 +0000 (13:53 +0100)]
Skip test on unsuitable build
This test reveals a difference between TS and NTS through all the
versions, which is probably too late to fix at this stage of 7.3.
While NTS always relies on the system getcwd(), TS uses a fake CWD
which might get out of sync when the real dir is deleted. Thus,
skip test on unsuitable build. Investigate possibilities to fix this
edge case for later versions.
Christoph M. Becker [Sat, 19 Jan 2019 10:13:13 +0000 (11:13 +0100)]
Fix failing test
Christoph M. Becker [Sat, 19 Jan 2019 09:17:20 +0000 (10:17 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77479: imagewbmp() segfaults with very large images
Christoph M. Becker [Sat, 19 Jan 2019 09:03:11 +0000 (10:03 +0100)]
Fix #77479: imagewbmp() segfaults with very large images
We must not proceed working with the Wbmp structure, if it hasn't been
allocated.
Anatol Belski [Sat, 19 Jan 2019 02:33:37 +0000 (03:33 +0100)]
Make test output more reliable
Anatol Belski [Sat, 19 Jan 2019 01:34:59 +0000 (02:34 +0100)]
Fixed bug #77484 Zend engine crashes when calling realpath in invalid working dir
Nikita Popov [Fri, 18 Jan 2019 14:01:51 +0000 (15:01 +0100)]
Add additional no_sanitize_address attributes
To fix bug #77447 in release mode as well.
Nikita Popov [Fri, 18 Jan 2019 11:48:52 +0000 (12:48 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Lauri Kenttä [Wed, 16 Jan 2019 20:08:03 +0000 (22:08 +0200)]
Fix seeking in php://input
Nikita Popov [Fri, 18 Jan 2019 11:04:33 +0000 (12:04 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Pedro Magalhães [Wed, 16 Jan 2019 00:33:03 +0000 (00:33 +0000)]
Fixed bug #76675
Leave a reference to the resource in the php_curl.
Jakub Zelenka [Thu, 17 Jan 2019 20:04:44 +0000 (20:04 +0000)]
List me in the openssl maintainers
I have been basically doing that since 2015 or so
Jakub Zelenka [Thu, 17 Jan 2019 18:33:53 +0000 (18:33 +0000)]
Fix bug #77430 (php-fpm crashes with Main process exited)
Christoph M. Becker [Wed, 16 Jan 2019 19:21:03 +0000 (20:21 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #73614: gdImageFilledArc() doesn't properly draw pies
Christoph M. Becker [Wed, 16 Jan 2019 19:10:04 +0000 (20:10 +0100)]
Fix #73614: gdImageFilledArc() doesn't properly draw pies
The fix for PHP bug 43828[1] changed the algorithm from drawing filled
pies from drawing multiple triangles to drawing a single polygon. Due
to quirks of the filled polygon drawing algorithm, we had to filter out
extraneous vertices. This lead, however, to a bug regarding displaced
starting and ending points near 90° and 270° degrees, which we fix by
reinserting these vertices if they had been removed.
This fix is a port of libgd/libgd@
1406b1a .
[1] <https://bugs.php.net/bug.php?id=43828>
Dmitry Stogov [Mon, 14 Jan 2019 10:59:30 +0000 (13:59 +0300)]
Fixed bug #77308 (Unbuffered queries memory leak)
Nikita Popov [Mon, 14 Jan 2019 10:49:58 +0000 (11:49 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
[ci skip]
wbob [Sat, 12 Jan 2019 08:49:23 +0000 (09:49 +0100)]
document open_basedir and realpath cache coupling in php.ini
[ci skip]
Nikita Popov [Mon, 14 Jan 2019 10:43:02 +0000 (11:43 +0100)]
Fixed bug #77447
By disabling asan for CPU support helpers used in ifunc resolvers.
Dmitry Stogov [Mon, 14 Jan 2019 10:18:28 +0000 (13:18 +0300)]
Fixed bug #77263 (Segfault when using 2 RecursiveFilterIterator)
Nikita Popov [Mon, 14 Jan 2019 09:23:44 +0000 (10:23 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 14 Jan 2019 09:21:41 +0000 (10:21 +0100)]
Fixed bug #77454
Anatol Belski [Sat, 12 Jan 2019 21:14:35 +0000 (22:14 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update SDK version for AppVeyor
Anatol Belski [Sat, 12 Jan 2019 21:13:14 +0000 (22:13 +0100)]
Update SDK version for AppVeyor
Nikita Popov [Fri, 11 Jan 2019 09:55:26 +0000 (10:55 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Ondřej Surý [Mon, 17 Dec 2018 09:56:06 +0000 (09:56 +0000)]
Fix rl_completion_matches detection
Also fix a typo when checking for rl_on_new_line in readline library.
Nikita Popov [Fri, 11 Jan 2019 09:25:32 +0000 (10:25 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Kevin Adler [Thu, 27 Dec 2018 19:54:08 +0000 (13:54 -0600)]
Fix bug #77361 (configure fails on 64-bit AIX when opcache enabled)
In
f9048300123 , support for GNU Hurd was added to the opcache and
the configure check to ensure the opcache knows the flock struct
layout prior to building was changed check for two cases: BSD layout
and Linux layout. All the existing hard-coded cases in
ZendAccelerator.h follow these two cases, except for 64-bit AIX.
This means that even though building on 64-bit AIX would work,
the configure script refuses to continue.
Add a new configure check for the 64-bit AIX case and a new
compiler definition HAVE_FLOCK_AIX64. Now that all the cases are
covered, simplify the ifdef logic around these three HAVE_FLOCK_*
macros:
- The macOS and the various BSD flavors fall under HAVE_FLOCK_BSD
- Linux, HP-UX, GNU Hurd, 32-bit AIX, and SVR4 environments
fall under HAVE_FLOCK_LINUX
- 64-bit AIX falls under HAVE_FLOCK_AIX64
The only difference between the existing HAVE_FLOCK_LINUX and
the hard-coded Linux/HP-UX/Hurd case is that the latter
initialized the 5th member to 0, but since the C standard already
says that un-initialized members will be initialized to 0,
it's effectively the same.
Jakub Zelenka [Thu, 10 Jan 2019 20:16:06 +0000 (20:16 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3
Alexander Kurilo [Thu, 6 Dec 2018 21:07:18 +0000 (00:07 +0300)]
Fix cleaning up after openssl_pkcs7_verify_basic test
Alexander Kurilo [Sun, 2 Dec 2018 14:08:01 +0000 (17:08 +0300)]
Generate certs for openssl tests on the fly
The idea is to create an easy way to provide a certificate that never
expires. In order to make it cross-platform, PHP is used rather than
openssl CLI app. Using openssl to generate certificates for tests that
test openssl might be not the best idea but pros seem to outweight cons
that this "recursice dependency" adds
Christoph M. Becker [Thu, 10 Jan 2019 15:14:56 +0000 (16:14 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #73281: imagescale(…, IMG_BILINEAR_FIXED) can cause black border
Christoph M. Becker [Thu, 10 Jan 2019 15:11:23 +0000 (16:11 +0100)]
Fix #73281: imagescale(…, IMG_BILINEAR_FIXED) can cause black border
We port the upstream fixes for libgd/libgd#329 and libgd/libgd#224.
Christoph M. Becker [Thu, 10 Jan 2019 13:06:49 +0000 (14:06 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #77272: imagescale() may return image resource on failure
Christoph M. Becker [Thu, 10 Jan 2019 13:03:07 +0000 (14:03 +0100)]
Fix #77272: imagescale() may return image resource on failure
`_gdScaleHoriz()` and `_gdScaleVert()` may fail, but don't signal
failure since they are void functions. We change that according to
upstream libgd.
We also remove the unused `Scale()` function, which doesn't exist in
upstream libgd either, right away.
Nikita Popov [Thu, 10 Jan 2019 09:57:13 +0000 (10:57 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 10 Jan 2019 09:55:19 +0000 (10:55 +0100)]
Fixed bug #77439
Nikita Popov [Thu, 10 Jan 2019 09:25:55 +0000 (10:25 +0100)]
Fixed bug #77434
Mark arrays containing partial arrays as partial. This was already
done for the ADD_ARRAY_ELEMENT case, but not for ASSIGN_DIM.
Xinchen Hui [Thu, 10 Jan 2019 06:50:39 +0000 (14:50 +0800)]
Incase of invalid read
Anatol Belski [Wed, 9 Jan 2019 15:16:47 +0000 (16:16 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Revert visibility
Andrey Hristov [Fri, 4 Jan 2019 09:37:54 +0000 (11:37 +0200)]
Revert visibility
(cherry picked from commit
71ffae9605a0b19f4c7a76d317276c934a767a65 )
Christoph M. Becker [Wed, 9 Jan 2019 10:46:48 +0000 (11:46 +0100)]
Sync NEWS with 7.3.1
All these bugs are fixed in PHP-7.3.1 already.
Lauri Kenttä [Wed, 9 Jan 2019 08:50:26 +0000 (09:50 +0100)]
Fixed bug #77289
Use mysqlnd_restart_psession and mysqlnd_end_psession in PDO MySQL.
This makes sure we free last_message while ZMM is still live.
Nikita Popov [Wed, 9 Jan 2019 08:26:49 +0000 (09:26 +0100)]
Make operator swapping depend on IGNORE_OVERLOADING flag
Add MUL back to the list and instead make the entire optimization
depend on IGNORE_OVERLOADING, which is there exactly so we can make
these kinds of assumptions.
Sara Golemon [Tue, 8 Jan 2019 19:20:18 +0000 (14:20 -0500)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Bump for 7.1.27
Sara Golemon [Tue, 8 Jan 2019 19:19:37 +0000 (14:19 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Bump for 7.1.27
Sara Golemon [Tue, 8 Jan 2019 19:17:43 +0000 (14:17 -0500)]
Bump for 7.1.27
Xinchen Hui [Tue, 8 Jan 2019 11:17:46 +0000 (19:17 +0800)]
Fixed bug #77266 (Assertion failed in dce_live_ranges)
Nikita Popov [Tue, 8 Jan 2019 09:21:01 +0000 (10:21 +0100)]
Fixed bug #77428
mb_ereg_replace historically has not supported escaping backslashes
with backslashes. Go back to that behavior for BC reasons.
Nikita Popov [Tue, 8 Jan 2019 08:38:02 +0000 (09:38 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 8 Jan 2019 08:36:48 +0000 (09:36 +0100)]
Don't swap operands of ZEND_MUL
If this is used with operator overloading, then the operation does
not necessarily commute (for example, matrix multiplication).
Remi Collet [Tue, 8 Jan 2019 08:34:05 +0000 (09:34 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
cleanup merge
Remi Collet [Tue, 8 Jan 2019 08:33:41 +0000 (09:33 +0100)]
cleanup merge
Nikita Popov [Tue, 8 Jan 2019 08:26:31 +0000 (09:26 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
twosee [Tue, 8 Jan 2019 08:24:51 +0000 (09:24 +0100)]
Prefix error_code with underscore in FastZPP implementation
To avoid conflicts with parameter names.
Derick Rethans [Mon, 7 Jan 2019 12:48:49 +0000 (12:48 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3
Derick Rethans [Mon, 7 Jan 2019 12:48:42 +0000 (12:48 +0000)]
Update tests due to data changes in tzdata 2018i
Christoph M. Becker [Mon, 7 Jan 2019 12:11:04 +0000 (13:11 +0100)]
Fix NEWS
The fixes for bug #77359 and #77360 have been ported to PHP-7.3.1, and
the release has been postponed by one week.
Derick Rethans [Mon, 7 Jan 2019 11:50:16 +0000 (11:50 +0000)]
Updated to version 2018.9 (2018i)
Derick Rethans [Mon, 7 Jan 2019 11:50:16 +0000 (11:50 +0000)]
Empty merge
Derick Rethans [Mon, 7 Jan 2019 11:50:14 +0000 (11:50 +0000)]
Updated to version 2018.9 (2018i)
Remi Collet [Mon, 7 Jan 2019 10:12:46 +0000 (11:12 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
[ci skip] fix NEWS
Remi Collet [Mon, 7 Jan 2019 10:12:13 +0000 (11:12 +0100)]
[ci skip] fix NEWS
Remi Collet [Mon, 7 Jan 2019 10:02:58 +0000 (11:02 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
[ci skip] fix NEWS
Remi Collet [Mon, 7 Jan 2019 10:02:40 +0000 (11:02 +0100)]
[ci skip] fix NEWS