]>
granicus.if.org Git - php/log
Anatol Belski [Thu, 19 Jul 2018 16:35:54 +0000 (18:35 +0200)]
Update binary SDK version for AppVeyor
Ferenc Kovacs [Thu, 19 Jul 2018 14:57:18 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Thu, 19 Jul 2018 14:56:32 +0000 (16:56 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Thu, 19 Jul 2018 14:32:50 +0000 (16:32 +0200)]
5.6.38 will be next
Anatol Belski [Tue, 17 Jul 2018 10:37:02 +0000 (12:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 10:36:13 +0000 (12:36 +0200)]
7.0.32 next
Anatol Belski [Tue, 17 Jul 2018 09:58:43 +0000 (11:58 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Update NEWS
Anatol Belski [Tue, 17 Jul 2018 08:21:21 +0000 (10:21 +0200)]
[ci skip] Update NEWS
Stanislav Malyshev [Mon, 16 Jul 2018 23:52:36 +0000 (16:52 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #76459 windows linkinfo lacks openbasedir check
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Stanislav Malyshev [Mon, 16 Jul 2018 22:13:13 +0000 (15:13 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Add NEWS
Fixed bug #76459 windows linkinfo lacks openbasedir check
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Anatol Belski [Tue, 3 Jul 2018 12:04:22 +0000 (14:04 +0200)]
Fixed bug #76459 windows linkinfo lacks openbasedir check
Stanislav Malyshev [Mon, 16 Jul 2018 21:26:31 +0000 (14:26 -0700)]
Add NEWS
Anatol Belski [Tue, 3 Jul 2018 11:51:31 +0000 (13:51 +0200)]
Fixed bug #76459 windows linkinfo lacks openbasedir check
Stanislav Malyshev [Mon, 2 Jul 2018 05:20:19 +0000 (22:20 -0700)]
Fix bug #76557: heap-buffer-overflow (READ of size 48) while reading exif data
Use MAKERNOTE length as data size.
Stanislav Malyshev [Tue, 19 Jun 2018 23:26:36 +0000 (16:26 -0700)]
Fix bug #76423 - Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c
Christoph M. Becker [Sun, 15 Jul 2018 21:06:38 +0000 (23:06 +0200)]
Fix #73817: Incorrect entries in get_html_translation_table
Due to incorrect string termination and length handling, several HTML
entities missed the trailing semicolon.
We also fix the obviously wrong expectations in two already existing
tests.
Anatol Belski [Fri, 13 Jul 2018 18:13:51 +0000 (20:13 +0200)]
Improve test
Ensure the filename is non existent indeed.
Anatol Belski [Thu, 12 Jul 2018 17:49:32 +0000 (19:49 +0200)]
Fixed RecursiveDirectoryIterator with long path or with edge case length
The search path needs to be appended with the wild card. Till now, an
edge case existed, so then if a path is 259 bytes long, which is smaller
_MAX_PATH, the suffix would cause the final search path to become longer
than _MAX_PATH. It is an edge case, when the starting path happens to
have a specific length. If the starting path was longer than _MAX_PATH
or the addition of "\\*" would not exceed _MAX_PATH, the function was
correct. Except for rewind, which was broken in the case of the long
path.
Christoph M. Becker [Thu, 12 Jul 2018 11:45:30 +0000 (13:45 +0200)]
Fix Travis build
As of commit
f9d1d1f [1] we require `sudo`, so we tell Travis about it.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=
f9d1d1f >
Anatol Belski [Thu, 12 Jul 2018 09:35:00 +0000 (11:35 +0200)]
Fix macro
Anatol Belski [Wed, 11 Jul 2018 11:09:20 +0000 (13:09 +0200)]
Fix condition
It looks like the real length limit is 247 bytes, not 248 as documented.
Anatol Belski [Tue, 10 Jul 2018 09:50:33 +0000 (11:50 +0200)]
[ci skip] Update NEWS
timurib [Mon, 25 Jun 2018 11:14:26 +0000 (14:14 +0300)]
Fix bug #76524 - ZipArchive memory leak
Bugfix #76524: Free up zip internal state and adjust the tests for Windows
Bugfix #76524: Fix possible use after free for libzip 1.3.1
Bugfix #76524: Make the test independent of platform
Anatol Belski [Mon, 9 Jul 2018 19:21:41 +0000 (21:21 +0200)]
Sync callback signature with libxml2 2.9.8
Anatol Belski [Mon, 9 Jul 2018 13:12:52 +0000 (15:12 +0200)]
Add missing flag
Anatol Belski [Sun, 8 Jul 2018 18:20:08 +0000 (20:20 +0200)]
Fix C++11 and up compatibility for zend_finite and more
C++11 puts isfinite, isinf, isnan and a lot of other stuff into the
std namespace. Thus, if a C++11 or newer source is compiled, these
symbols won't be available. A good solution would be to include cmath,
but depending on a particular compiler that might remove even more
stuff from the global namespace, so such a fix should only target master.
For now, just keep these defines same for C++11 and upper, as the actual
C++ code should use symbols from the std namespace anyway. This
especially concerns older GCC versions like at least 4 and 5, which are
used by default in the LTS Linux distros.
cdoco [Fri, 6 Jul 2018 14:13:46 +0000 (22:13 +0800)]
Fixed bug #76366 (references in sub-array for filtering breaks the filter)
Anatol Belski [Fri, 6 Jul 2018 15:43:48 +0000 (17:43 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 6 Jul 2018 11:59:14 +0000 (13:59 +0200)]
Fix event log handling in startup phase
The log header can be saved in the globals on startup. At the same
time, the log header can be changed per request. In case that
happened, wrong pointer will be free'd on shutdown. It can happen at
any point when zend_error() or similar is called at startup, like for
example in the case of the ini deprecation warnings. Thus, ZMM cannot
be used here.
sim1984 [Mon, 25 Jun 2018 18:35:51 +0000 (21:35 +0300)]
Fix bug #76488 Memory leak when fetching a BLOB field
Add a phpt test
Sara Golemon [Fri, 6 Jul 2018 14:02:20 +0000 (10:02 -0400)]
Fix year
Sara Golemon [Fri, 6 Jul 2018 14:01:54 +0000 (10:01 -0400)]
Bump version
Nikita Popov [Thu, 5 Jul 2018 17:08:00 +0000 (19:08 +0200)]
Fix string.strip_tags filter
Was segfaulting if no allowed tags are specified and performing an
out of bounds read if they were.
Nikita Popov [Mon, 2 Jul 2018 16:56:27 +0000 (18:56 +0200)]
Fixed bug #75231
The behavior is now consistent with ReflectionMethod.
Nikita Popov [Mon, 2 Jul 2018 15:58:26 +0000 (17:58 +0200)]
Fix test after serialization change
And move it to a more appropriate location.
Nikita Popov [Mon, 2 Jul 2018 15:24:35 +0000 (17:24 +0200)]
Fixed bug #74670
Validate that "C" serialization payload is followed by "}" prior to
calling the unserialize() handler. This mitigates issues caused by
unserialize() not correctly handling strings that are not NUL
terminated. Making sure that there is a "}" at the end avoids the
problem.
Anatol Belski [Mon, 2 Jul 2018 10:09:54 +0000 (12:09 +0200)]
Update libs_version.txt
Christoph M. Becker [Sat, 30 Jun 2018 22:16:09 +0000 (00:16 +0200)]
Make newly introduced bug76556.phpt more resilient
Obviously, different compilers mangle the C++ class name differently.
We should neither expect a prefix nor a suffix.
Christoph M. Becker [Sat, 30 Jun 2018 17:41:55 +0000 (19:41 +0200)]
Fix #76556: get_debug_info handler for BreakIterator shows wrong type
We use the retrieved type for the "type" element instead of the text.
This has been confused during the PHP 7 upgrade[1].
[1] http://git.php.net/?p=php-src.git;a=commit;h=
1d793348067e5769144c0f7efd86428a4137baec
Nikita Popov [Sat, 30 Jun 2018 18:10:57 +0000 (20:10 +0200)]
Fix handling of void return type on internal functions
Nikita Popov [Sat, 30 Jun 2018 17:49:29 +0000 (19:49 +0200)]
Fix typo in compound dim assign op inference
Thankfully a harmless one, just makes inference results worse.
Christoph M. Becker [Sat, 30 Jun 2018 14:29:29 +0000 (16:29 +0200)]
Fix #71848: getimagesize with $imageinfo returns false
Some JFIF images contain empty APP segments, i.e. those which consist
only of the marker bytes and the length, but without actual content.
It appears to be doubtful to have empty APP segments, but we should
apply the robustness principle, and accept these, instead of simply
failing in this case.
We choose to add empty APP segments to $imageinfo with an empty string
as value, instead of NULL, or even to omit these segments altogether.
This patch also fixes the potential issue that php_stream_read() might
not read the supposed number of bytes, which could result in garbage to
be added to the read value.
Nikita Popov [Fri, 29 Jun 2018 21:22:41 +0000 (23:22 +0200)]
Fix nullable type pretty-printing
Anatol Belski [Fri, 29 Jun 2018 18:10:54 +0000 (20:10 +0200)]
[ci skip] Update NEWS
Anatol Belski [Fri, 29 Jun 2018 16:34:53 +0000 (18:34 +0200)]
Fixed bug #76548 pg_fetch_result did not fetch the next row
Marcus Schwarz [Thu, 28 Jun 2018 12:10:41 +0000 (14:10 +0200)]
Fixed bug #76532 (excessive memory usage in mb_strimwidth)
Anatol Belski [Thu, 28 Jun 2018 13:56:27 +0000 (15:56 +0200)]
Update SDK version for AppVeyor
Anatol Belski [Thu, 28 Jun 2018 11:23:19 +0000 (13:23 +0200)]
Sync versions for VC++ 15.8
Anatol Belski [Thu, 28 Jun 2018 08:53:23 +0000 (10:53 +0200)]
Don't ignore commits on NEWS, etc. on AppVeyor
[ci skip] can be used explicitly, and otherwise it might ignore commits
with a code change.
Xinchen Hui [Thu, 28 Jun 2018 04:37:33 +0000 (12:37 +0800)]
Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
Xinchen Hui [Wed, 27 Jun 2018 05:05:11 +0000 (13:05 +0800)]
Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler)
Christoph M. Becker [Fri, 22 Jun 2018 13:45:31 +0000 (15:45 +0200)]
Fix arginfo wrt. optional/required parameters
All parameters of phpdbg_color(), phpdbg_exec() and phpdbg_prompt() are
required. We mark them as such.
Anatol Belski [Mon, 25 Jun 2018 09:30:14 +0000 (11:30 +0200)]
Prepare tests for ICU 62.1
Nikita Popov [Sun, 24 Jun 2018 20:26:45 +0000 (22:26 +0200)]
Fixed bug #76502
Jakub Zelenka [Thu, 21 Jun 2018 15:43:32 +0000 (16:43 +0100)]
Use unix NL in all openssl ext tests
Jakub Zelenka [Thu, 21 Jun 2018 15:38:19 +0000 (16:38 +0100)]
Make code in openssl ext tests more consistent
Mainly use spaces for indent and fix some other CS issues. Also
drop checks for unsupported OpenSSL library versions.
Xinchen Hui [Thu, 21 Jun 2018 09:26:05 +0000 (17:26 +0800)]
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
Stanislav Malyshev [Wed, 20 Jun 2018 17:41:41 +0000 (10:41 -0700)]
Revert "ICU 59+ requires C++11 and errors out without the option"
This reverts commit
5dd1ef90caec3021e6ce55c8554e695edf641eaf .
Nikita Popov [Tue, 12 Jun 2018 18:34:01 +0000 (20:34 +0200)]
Fixed bug #73342
Directly listen on socket, instead of duping it to STDIN and
listening on that.
Stanislav Malyshev [Sun, 17 Jun 2018 23:00:06 +0000 (16:00 -0700)]
ICU 59+ requires C++11 and errors out without the option
Dmitry Stogov [Wed, 13 Jun 2018 23:38:39 +0000 (02:38 +0300)]
Fixed invalid free introduced by
d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)
Nikita Popov [Wed, 13 Jun 2018 21:47:20 +0000 (23:47 +0200)]
Make $locale parameter to BreakIterator ctors optional
It's documented as such and already accepts null.
Jakub Zelenka [Thu, 7 Jun 2018 16:21:54 +0000 (17:21 +0100)]
Rewrite FPM tests
Anatol Belski [Tue, 12 Jun 2018 16:06:41 +0000 (18:06 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 13:30:14 +0000 (15:30 +0200)]
Fixed bug #76462 Undefined property: DateInterval::$f
Nikita Popov [Sat, 9 Jun 2018 09:04:40 +0000 (11:04 +0200)]
Fix mysqlnd build without openssl
Cherry-pick of
968eb0b38cc9095d418beb8f0df08c4b9abdb079 , as these
changes were also introduced in lower branches.
Jakub Zelenka [Fri, 8 Jun 2018 19:09:33 +0000 (20:09 +0100)]
Enable IPv6 in Travis
Joe Watkins [Thu, 7 Jun 2018 06:19:43 +0000 (08:19 +0200)]
bump versions
Anatol Belski [Wed, 6 Jun 2018 09:13:28 +0000 (11:13 +0200)]
Fix VC compilation as variable size array is not supported
Johannes Schlüter [Tue, 5 Jun 2018 22:24:41 +0000 (00:24 +0200)]
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
Johannes Schlüter [Tue, 5 Jun 2018 22:17:34 +0000 (00:17 +0200)]
Fix MySQL 8 auth
Stanislav Malyshev [Tue, 5 Jun 2018 05:44:05 +0000 (22:44 -0700)]
Fix bug #76390 - do not allow invalid strings in range()
Anatol Belski [Mon, 28 May 2018 15:12:06 +0000 (17:12 +0200)]
Translate correct C++ version with suitable compiler
Bob Weinand [Sun, 27 May 2018 22:48:35 +0000 (00:48 +0200)]
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
Mitch Hagstrand [Wed, 16 May 2018 20:01:24 +0000 (15:01 -0500)]
Adds print_global_vars to gdbinit
Peter Kokot [Sat, 26 May 2018 17:34:38 +0000 (19:34 +0200)]
Add missing opcache.opt_debug_level ini directive
Joe Watkins [Wed, 23 May 2018 20:23:13 +0000 (22:23 +0200)]
fix phpdbg disabling chroot support
Xinchen Hui [Wed, 23 May 2018 06:45:38 +0000 (14:45 +0800)]
Fixed bug #76367 (NoRewindIterator segfault 11)
Jakub Zelenka [Mon, 21 May 2018 16:55:11 +0000 (17:55 +0100)]
Fix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
Tianon Gravi [Thu, 5 Apr 2018 18:55:27 +0000 (11:55 -0700)]
Allow pecl like usage in ext/pdo, refs #2955
Anatol Belski [Sat, 19 May 2018 11:09:56 +0000 (13:09 +0200)]
Refix the tests once more
The behavior change seems to be in both runtime and system. The
displaced warning output is of secondary interest anyway.
Anatol Belski [Sat, 19 May 2018 09:43:19 +0000 (11:43 +0200)]
Fix remaining AppVeyor test failures due to the image update
Anatol Belski [Fri, 18 May 2018 16:36:39 +0000 (18:36 +0200)]
Fix Opcache test fails regarding to AppVeyor image update
Jakub Zelenka [Fri, 18 May 2018 16:18:25 +0000 (17:18 +0100)]
Update NEWS with info about bug #76296
Jakub Zelenka [Fri, 18 May 2018 16:13:55 +0000 (17:13 +0100)]
Add test for bug #76296
Erik Lax [Tue, 1 May 2018 16:16:53 +0000 (18:16 +0200)]
Fix bug #76296 (openssl_pkey_get_public does not respect open_basedir)
Anatol Belski [Fri, 18 May 2018 15:39:12 +0000 (17:39 +0200)]
Fix curl tests wrt. AppVeyor and curl updates
Anatol Belski [Fri, 18 May 2018 11:38:53 +0000 (13:38 +0200)]
Fix cli server test fails after recent AppVeyor image update
Anatol Belski [Mon, 14 May 2018 10:08:01 +0000 (12:08 +0200)]
[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 08:43:11 +0000 (10:43 +0200)]
Fixed bug #76335 "link(): Bad file descriptor" with non-ASCII path
Anatol Belski [Mon, 14 May 2018 06:42:28 +0000 (08:42 +0200)]
[ci skip] Update NEWS
Anatol Belski [Sun, 13 May 2018 14:43:22 +0000 (16:43 +0200)]
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters
Anatol Belski [Wed, 9 May 2018 09:28:20 +0000 (11:28 +0200)]
Update SDK version for AppVeyor
Joe Watkins [Tue, 8 May 2018 16:02:30 +0000 (18:02 +0200)]
bump versions
Derick Rethans [Tue, 8 May 2018 08:24:25 +0000 (09:24 +0100)]
Updated to version 2018.5 (2018e)
Ricardo F [Thu, 3 May 2018 13:28:19 +0000 (15:28 +0200)]
Update _bits_per_char to use with new PHP 7.1. or greater
Fix typo
Remove references to PHP lower than 7.1
Anatol Belski [Sun, 6 May 2018 14:13:26 +0000 (16:13 +0200)]
[ci skip] Update NEWS
Anatol Belski [Thu, 3 May 2018 15:15:47 +0000 (17:15 +0200)]
Fix tests, ref bug #74385
Anatol Belski [Thu, 3 May 2018 14:34:33 +0000 (16:34 +0200)]
Fixed bug #74385 Locale::parseLocale() broken with some arguments
Rely on the ICU's defined values for the max locale id length.
Dmitry Stogov [Thu, 3 May 2018 09:10:33 +0000 (12:10 +0300)]
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp)