]>
granicus.if.org Git - php/log
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)
Thomas Punt [Sun, 29 Apr 2018 18:23:07 +0000 (19:23 +0100)]
Fix potential memory leak in the enchant extension
Thomas Punt [Sun, 29 Apr 2018 18:04:10 +0000 (19:04 +0100)]
Fix potential memory leak in curl extension
Thomas Punt [Sun, 29 Apr 2018 16:34:03 +0000 (17:34 +0100)]
The SO_PASSCRED constant is conditionally defined
Thomas Punt [Sat, 28 Apr 2018 12:56:09 +0000 (13:56 +0100)]
Merge branch 'PHP-7.1' of https://git.php.net/push/php-src into PHP-7.1
Thomas Punt [Sat, 28 Apr 2018 12:55:24 +0000 (13:55 +0100)]
Fix potential memory leaks in sockets extension
Dmitry Stogov [Sat, 28 Apr 2018 10:28:00 +0000 (13:28 +0300)]
Revert "Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp)."
This reverts commit
c6ce03e45e09087de8fc65f8a0a3345fea163ba2 .
Dmitry Stogov [Fri, 27 Apr 2018 21:19:53 +0000 (00:19 +0300)]
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).
Nikita Popov [Fri, 27 Apr 2018 20:17:59 +0000 (22:17 +0200)]
Fix bug #76281
Make sure we keep the smart-branch inhibiting NOP even if there
are multiple NOPs in sequence.
Nikita Popov [Fri, 27 Apr 2018 14:58:30 +0000 (16:58 +0200)]
Fixed bug #76275
* Adjust IS_SERIALIZED() check to account for potential empty
allocations at the end of the memory region.
* Deallocate empty allocation if all try/catch elements have been
removed in the block pass (similar to what we do if all live
ranges have been eliminated).
Thomas Punt [Thu, 26 Apr 2018 20:08:19 +0000 (21:08 +0100)]
Allocate default ini values into persistent memory
Thomas Punt [Thu, 26 Apr 2018 15:39:52 +0000 (16:39 +0100)]
Fix memory leak when phpdbg fails to start up
shiguangqi2008@gmail.com [Thu, 26 Apr 2018 10:16:30 +0000 (18:16 +0800)]
Fix memory leak in zend_disable_class()
Ferenc Kovacs [Tue, 24 Apr 2018 22:14:33 +0000 (00:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Tue, 24 Apr 2018 22:13:11 +0000 (00:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Tue, 24 Apr 2018 21:23:14 +0000 (23:23 +0200)]
5.6.37 will be next
Anatol Belski [Tue, 24 Apr 2018 09:37:10 +0000 (11:37 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
7.0.31 next
Anatol Belski [Tue, 24 Apr 2018 09:36:12 +0000 (11:36 +0200)]
7.0.31 next
Anatol Belski [Tue, 24 Apr 2018 09:21:44 +0000 (11:21 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Update NEWS
Anatol Belski [Tue, 24 Apr 2018 09:21:03 +0000 (11:21 +0200)]
[ci skip] Update NEWS
Anatol Belski [Tue, 24 Apr 2018 08:48:49 +0000 (10:48 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix test portability
Anatol Belski [Tue, 24 Apr 2018 08:48:22 +0000 (10:48 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix test portability
Anatol Belski [Tue, 24 Apr 2018 08:47:32 +0000 (10:47 +0200)]
Fix test portability
Stanislav Malyshev [Tue, 24 Apr 2018 05:00:24 +0000 (22:00 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981: prevent reading beyond buffer start
Stanislav Malyshev [Tue, 24 Apr 2018 04:59:50 +0000 (21:59 -0700)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981: prevent reading beyond buffer start
Stanislav Malyshev [Mon, 23 Apr 2018 23:48:27 +0000 (16:48 -0700)]
Fix tsrm_ls
Stanislav Malyshev [Mon, 23 Apr 2018 20:44:19 +0000 (13:44 -0700)]
Merge remote-tracking branch 'security/bug76249' into PHP-5.6
* security/bug76249:
Fix test
Fix bug #76249 - fail on invalid sequences
Stanislav Malyshev [Mon, 23 Apr 2018 20:44:12 +0000 (13:44 -0700)]
Merge remote-tracking branch 'security/bug76248' into PHP-5.6
* security/bug76248:
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Stanislav Malyshev [Wed, 28 Mar 2018 04:22:28 +0000 (21:22 -0700)]
Fix #76129 - remove more potential unfiltered outputs for phar
Stanislav Malyshev [Mon, 23 Apr 2018 20:42:51 +0000 (13:42 -0700)]
Merge remote-tracking branch 'security/PHP-5.6' into PHP-5.6
* security/PHP-5.6:
Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981: prevent reading beyond buffer start
Stanislav Malyshev [Mon, 23 Apr 2018 05:19:51 +0000 (22:19 -0700)]
Fix test
Stanislav Malyshev [Mon, 23 Apr 2018 05:01:35 +0000 (22:01 -0700)]
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Stanislav Malyshev [Mon, 23 Apr 2018 04:26:06 +0000 (21:26 -0700)]
Fix bug #76249 - fail on invalid sequences
Stanislav Malyshev [Mon, 23 Apr 2018 03:27:42 +0000 (20:27 -0700)]
Add a bit of defensive conding for bug #76155
Even though it should not be ever negative, since strlen() is size_t
better to be safe than sorry.
Christoph M. Becker [Tue, 27 Mar 2018 16:42:55 +0000 (18:42 +0200)]
Fix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
The MakerNote is not necessarily null-terminated, so we must not use
`strlen()` to avoid OOB reads. Instead `php_strnlen()` is the proper
way to handle this.
Jakub Zelenka [Sun, 15 Apr 2018 19:41:23 +0000 (20:41 +0100)]
Make openssl_error_string test work in OpenSSL 1.1.1
It was the only failing test
Aron Rotteveel [Mon, 26 Mar 2018 12:39:36 +0000 (14:39 +0200)]
reset imap_errorstack after outputting it
This happens in `imap_errors` as well, but seems to be omitted in the `shutdown` routine.
Jakub Zelenka [Fri, 13 Apr 2018 19:17:24 +0000 (20:17 +0100)]
[ci skip] Update NEWS with fpm acl fix
Michał Górny [Fri, 2 Mar 2018 15:19:34 +0000 (16:19 +0100)]
Support using acl_* functions on *BSD
The *BSD systems have ACL routines built-in in libc rather than
in separate libacl. Update the configure check to detect that and enable
ACL support without adding 'acl' library.
Gabriel Caruso [Sun, 25 Mar 2018 17:53:57 +0000 (14:53 -0300)]
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)
Anatol Belski [Thu, 12 Apr 2018 16:25:27 +0000 (18:25 +0200)]
Fix memory leak
Joe Watkins [Wed, 11 Apr 2018 06:08:52 +0000 (08:08 +0200)]
bump versions