]> granicus.if.org Git - php/log
php
6 years agoFix mysqlnd build without openssl
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.

6 years agoEnable IPv6 in Travis
Jakub Zelenka [Fri, 8 Jun 2018 19:09:33 +0000 (20:09 +0100)]
Enable IPv6 in Travis

6 years agobump versions
Joe Watkins [Thu, 7 Jun 2018 06:19:43 +0000 (08:19 +0200)]
bump versions

6 years agoFix VC compilation as variable size array is not supported
Anatol Belski [Wed, 6 Jun 2018 09:13:28 +0000 (11:13 +0200)]
Fix VC compilation as variable size array is not supported

6 years agoMerge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
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

6 years agoFix MySQL 8 auth
Johannes Schlüter [Tue, 5 Jun 2018 22:17:34 +0000 (00:17 +0200)]
Fix MySQL 8 auth

6 years agoFix bug #76390 - do not allow invalid strings in range()
Stanislav Malyshev [Tue, 5 Jun 2018 05:44:05 +0000 (22:44 -0700)]
Fix bug #76390 - do not allow invalid strings in range()

6 years agoTranslate correct C++ version with suitable compiler
Anatol Belski [Mon, 28 May 2018 15:12:06 +0000 (17:12 +0200)]
Translate correct C++ version with suitable compiler

6 years agoFixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
Bob Weinand [Sun, 27 May 2018 22:48:35 +0000 (00:48 +0200)]
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)

6 years agoAdds print_global_vars to gdbinit
Mitch Hagstrand [Wed, 16 May 2018 20:01:24 +0000 (15:01 -0500)]
Adds print_global_vars to gdbinit

6 years agoAdd missing opcache.opt_debug_level ini directive
Peter Kokot [Sat, 26 May 2018 17:34:38 +0000 (19:34 +0200)]
Add missing opcache.opt_debug_level ini directive

6 years agofix phpdbg disabling chroot support
Joe Watkins [Wed, 23 May 2018 20:23:13 +0000 (22:23 +0200)]
fix phpdbg disabling chroot support

6 years agoFixed bug #76367 (NoRewindIterator segfault 11)
Xinchen Hui [Wed, 23 May 2018 06:45:38 +0000 (14:45 +0800)]
Fixed bug #76367 (NoRewindIterator segfault 11)

6 years agoFix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
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)

6 years agoAllow pecl like usage in ext/pdo, refs #2955
Tianon Gravi [Thu, 5 Apr 2018 18:55:27 +0000 (11:55 -0700)]
Allow pecl like usage in ext/pdo, refs #2955

6 years agoRefix the tests once more
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.

6 years agoFix remaining AppVeyor test failures due to the image update
Anatol Belski [Sat, 19 May 2018 09:43:19 +0000 (11:43 +0200)]
Fix remaining AppVeyor test failures due to the image update

6 years agoFix Opcache test fails regarding to AppVeyor image update
Anatol Belski [Fri, 18 May 2018 16:36:39 +0000 (18:36 +0200)]
Fix Opcache test fails regarding to AppVeyor image update

6 years agoUpdate NEWS with info about bug #76296
Jakub Zelenka [Fri, 18 May 2018 16:18:25 +0000 (17:18 +0100)]
Update NEWS with info about bug #76296

6 years agoAdd test for bug #76296
Jakub Zelenka [Fri, 18 May 2018 16:13:55 +0000 (17:13 +0100)]
Add test for bug #76296

6 years agoFix bug #76296 (openssl_pkey_get_public does not respect open_basedir)
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)

6 years agoFix curl tests wrt. AppVeyor and curl updates
Anatol Belski [Fri, 18 May 2018 15:39:12 +0000 (17:39 +0200)]
Fix curl tests wrt. AppVeyor and curl updates

6 years agoFix cli server test fails after recent AppVeyor image update
Anatol Belski [Fri, 18 May 2018 11:38:53 +0000 (13:38 +0200)]
Fix cli server test fails after recent AppVeyor image update

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 10:08:01 +0000 (12:08 +0200)]
[ci skip] Update NEWS

6 years agoFixed bug #76335 "link(): Bad file descriptor" with non-ASCII path
Anatol Belski [Mon, 14 May 2018 08:43:11 +0000 (10:43 +0200)]
Fixed bug #76335 "link(): Bad file descriptor" with non-ASCII path

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 06:42:28 +0000 (08:42 +0200)]
[ci skip] Update NEWS

6 years agoFixed bug #76333 PHP built-in server does not find files if root path contains specia...
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

6 years agoUpdate SDK version for AppVeyor
Anatol Belski [Wed, 9 May 2018 09:28:20 +0000 (11:28 +0200)]
Update SDK version for AppVeyor

6 years agobump versions
Joe Watkins [Tue, 8 May 2018 16:02:30 +0000 (18:02 +0200)]
bump versions

6 years agoUpdated to version 2018.5 (2018e)
Derick Rethans [Tue, 8 May 2018 08:24:25 +0000 (09:24 +0100)]
Updated to version 2018.5 (2018e)

6 years agoUpdate _bits_per_char to use with new PHP 7.1. or greater
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

6 years ago[ci skip] Update NEWS
Anatol Belski [Sun, 6 May 2018 14:13:26 +0000 (16:13 +0200)]
[ci skip] Update NEWS

6 years agoFix tests, ref bug #74385
Anatol Belski [Thu, 3 May 2018 15:15:47 +0000 (17:15 +0200)]
Fix tests, ref bug #74385

6 years agoFixed bug #74385 Locale::parseLocale() broken with some arguments
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.

6 years agoFixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp)
Dmitry Stogov [Thu, 3 May 2018 09:10:33 +0000 (12:10 +0300)]
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp)

6 years agoFix potential memory leak in the enchant extension
Thomas Punt [Sun, 29 Apr 2018 18:23:07 +0000 (19:23 +0100)]
Fix potential memory leak in the enchant extension

6 years agoFix potential memory leak in curl extension
Thomas Punt [Sun, 29 Apr 2018 18:04:10 +0000 (19:04 +0100)]
Fix potential memory leak in curl extension

6 years agoThe SO_PASSCRED constant is conditionally defined
Thomas Punt [Sun, 29 Apr 2018 16:34:03 +0000 (17:34 +0100)]
The SO_PASSCRED constant is conditionally defined

6 years agoMerge branch 'PHP-7.1' of https://git.php.net/push/php-src into PHP-7.1
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

6 years agoFix potential memory leaks in sockets extension
Thomas Punt [Sat, 28 Apr 2018 12:55:24 +0000 (13:55 +0100)]
Fix potential memory leaks in sockets extension

6 years agoRevert "Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp)."
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.

6 years agoFixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).
Dmitry Stogov [Fri, 27 Apr 2018 21:19:53 +0000 (00:19 +0300)]
Fixed bug #76205 (PHP-FPM sporadic crash when running Infinitewp).

6 years agoFix bug #76281
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.

6 years agoFixed bug #76275
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).

6 years agoAllocate default ini values into persistent memory
Thomas Punt [Thu, 26 Apr 2018 20:08:19 +0000 (21:08 +0100)]
Allocate default ini values into persistent memory

6 years agoFix memory leak when phpdbg fails to start up
Thomas Punt [Thu, 26 Apr 2018 15:39:52 +0000 (16:39 +0100)]
Fix memory leak when phpdbg fails to start up

6 years agoFix memory leak in zend_disable_class()
shiguangqi2008@gmail.com [Thu, 26 Apr 2018 10:16:30 +0000 (18:16 +0800)]
Fix memory leak in zend_disable_class()

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Tue, 24 Apr 2018 22:14:33 +0000 (00:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Tue, 24 Apr 2018 22:13:11 +0000 (00:13 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

6 years ago5.6.37 will be next
Ferenc Kovacs [Tue, 24 Apr 2018 21:23:14 +0000 (23:23 +0200)]
5.6.37 will be next

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

6 years ago7.0.31 next
Anatol Belski [Tue, 24 Apr 2018 09:36:12 +0000 (11:36 +0200)]
7.0.31 next

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 24 Apr 2018 09:21:03 +0000 (11:21 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

6 years agoFix test portability
Anatol Belski [Tue, 24 Apr 2018 08:47:32 +0000 (10:47 +0200)]
Fix test portability

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
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

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
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

6 years agoFix tsrm_ls
Stanislav Malyshev [Mon, 23 Apr 2018 23:48:27 +0000 (16:48 -0700)]
Fix tsrm_ls

6 years agoMerge remote-tracking branch 'security/bug76249' into PHP-5.6
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

6 years agoMerge remote-tracking branch 'security/bug76248' into PHP-5.6
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

6 years agoFix #76129 - remove more potential unfiltered outputs for phar
Stanislav Malyshev [Wed, 28 Mar 2018 04:22:28 +0000 (21:22 -0700)]
Fix #76129 - remove more potential unfiltered outputs for phar

6 years agoMerge remote-tracking branch 'security/PHP-5.6' into PHP-5.6
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

6 years agoFix test
Stanislav Malyshev [Mon, 23 Apr 2018 05:19:51 +0000 (22:19 -0700)]
Fix test

6 years agoFix bug #76248 - Malicious LDAP-Server Response causes Crash
Stanislav Malyshev [Mon, 23 Apr 2018 05:01:35 +0000 (22:01 -0700)]
Fix bug #76248 - Malicious LDAP-Server Response causes Crash

6 years agoFix bug #76249 - fail on invalid sequences
Stanislav Malyshev [Mon, 23 Apr 2018 04:26:06 +0000 (21:26 -0700)]
Fix bug #76249 - fail on invalid sequences

6 years agoAdd a bit of defensive conding for bug #76155
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.

6 years agoFix #76130: Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
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.

6 years agoMake openssl_error_string test work in OpenSSL 1.1.1
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

6 years agoreset imap_errorstack after outputting it
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.

6 years ago[ci skip] Update NEWS with fpm acl fix
Jakub Zelenka [Fri, 13 Apr 2018 19:17:24 +0000 (20:17 +0100)]
[ci skip] Update NEWS with fpm acl fix

6 years agoSupport using acl_* functions on *BSD
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.

6 years agoFix arginfo for array_replace(_recursive) and array_merge(_recursive)
Gabriel Caruso [Sun, 25 Mar 2018 17:53:57 +0000 (14:53 -0300)]
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)

6 years agoFix memory leak
Anatol Belski [Thu, 12 Apr 2018 16:25:27 +0000 (18:25 +0200)]
Fix memory leak

6 years agobump versions
Joe Watkins [Wed, 11 Apr 2018 06:08:52 +0000 (08:08 +0200)]
bump versions

6 years agoUpdated LiteSpeed SAPI to 7.1 .
George Wang [Tue, 10 Apr 2018 20:48:04 +0000 (16:48 -0400)]
Updated LiteSpeed SAPI to 7.1 .

6 years agoFixed bug #76143 (Memory corruption: arbitrary NUL overwrite)
Xinchen Hui [Tue, 10 Apr 2018 08:32:08 +0000 (16:32 +0800)]
Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)

6 years agoGroup common flags
Anatol Belski [Thu, 5 Apr 2018 14:44:12 +0000 (16:44 +0200)]
Group common flags

6 years agoRename var
Anatol Belski [Thu, 5 Apr 2018 12:52:40 +0000 (14:52 +0200)]
Rename var

6 years ago[BUGFIX] allow php_admin_value to override value set in php.ini without restriction...
George Wang [Tue, 3 Apr 2018 15:46:24 +0000 (11:46 -0400)]
[BUGFIX] allow php_admin_value to override value set in php.ini without restriction, like adding an extra directory to open_basedir.

6 years agoSync fix for bug #72498 for 32-bit
Anatol Belski [Tue, 3 Apr 2018 15:24:13 +0000 (17:24 +0200)]
Sync fix for bug #72498 for 32-bit

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 3 Apr 2018 09:28:19 +0000 (11:28 +0200)]
[ci skip] Update NEWS

6 years agoFix shared ext/intl compilation
Anatol Belski [Tue, 3 Apr 2018 08:42:14 +0000 (10:42 +0200)]
Fix shared ext/intl compilation

6 years agoFix #52070: imagedashedline() - dashed line sometimes is not visible
Christoph M. Becker [Fri, 30 Mar 2018 17:22:23 +0000 (19:22 +0200)]
Fix #52070: imagedashedline() - dashed line sometimes is not visible

We finally remove the inadvertent leftover from the synchronization
with GD 2.0.12.

6 years agoUpdate NEWS with FPM fixes
Jakub Zelenka [Fri, 30 Mar 2018 16:56:17 +0000 (17:56 +0100)]
Update NEWS with FPM fixes

6 years agoPrevent modifying of getenv result
Jakub Zelenka [Sun, 18 Mar 2018 19:16:30 +0000 (19:16 +0000)]
Prevent modifying of getenv result

6 years ago68440: ensure backwards compatibility with FPM_SOCKETS var; fix sockname size
Jacob Hipps [Mon, 26 Feb 2018 15:25:24 +0000 (10:25 -0500)]
68440: ensure backwards compatibility with FPM_SOCKETS var; fix sockname size

6 years agoFix bug #68440: [sapi/fpm] use multiple FPM_SOCKETS env vars to prevent hitting MAX_A...
Jacob Hipps [Fri, 23 Feb 2018 16:36:59 +0000 (11:36 -0500)]
Fix bug #68440: [sapi/fpm] use multiple FPM_SOCKETS env vars to prevent hitting MAX_ARG_STRLEN with a large number of pools

6 years agoFix clang build, ref buf #76153
Anatol Belski [Fri, 30 Mar 2018 12:14:35 +0000 (14:14 +0200)]
Fix clang build, ref buf #76153

Clang only allows -std=c++11 for C++ source.

6 years agoUpdate binary SDK version for AppVeyor
Anatol Belski [Thu, 29 Mar 2018 14:59:42 +0000 (16:59 +0200)]
Update binary SDK version for AppVeyor

6 years agoAdjust tests for ICU 61.1 compatibility
Anatol Belski [Thu, 29 Mar 2018 12:12:19 +0000 (14:12 +0200)]
Adjust tests for ICU 61.1 compatibility

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 28 Mar 2018 21:19:30 +0000 (23:19 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 28 Mar 2018 21:17:59 +0000 (23:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

6 years ago[ci skip] 5.6.36 will be next
Ferenc Kovacs [Wed, 28 Mar 2018 21:14:30 +0000 (23:14 +0200)]
[ci skip] 5.6.36 will be next

6 years agoFixed bug #76153 Intl compilation fails with icu4c 61.1
Anatol Belski [Wed, 28 Mar 2018 16:00:28 +0000 (18:00 +0200)]
Fixed bug #76153 Intl compilation fails with icu4c 61.1

Additionally, ICU >= 59.1 requires C++11, so add the flags. Some
refactoring is needed to comply with the latest recommended build
options, such as automatic icu namespace addition.

6 years agoFixed #75996: Add the right urls to the header of mt_rand.
TATAR Balazs Janos [Thu, 22 Feb 2018 16:10:33 +0000 (17:10 +0100)]
Fixed #75996: Add the right urls to the header of mt_rand.

6 years agoFix #76131 some arginfo params are different from the documentation
Gabriel Caruso [Sat, 24 Mar 2018 04:51:21 +0000 (01:51 -0300)]
Fix #76131 some arginfo params are different from the documentation

6 years agoUpdate libs_versions.txt
Anatol Belski [Tue, 27 Mar 2018 17:44:17 +0000 (19:44 +0200)]
Update libs_versions.txt

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Mar 2018 14:03:54 +0000 (16:03 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] Fix release date