]> granicus.if.org Git - php/log
php
6 years agoUpdate SDK version for AppVeyor
Anatol Belski [Thu, 28 Jun 2018 13:56:27 +0000 (15:56 +0200)]
Update SDK version for AppVeyor

6 years agoSync versions for VC++ 15.8
Anatol Belski [Thu, 28 Jun 2018 11:23:19 +0000 (13:23 +0200)]
Sync versions for VC++ 15.8

6 years agoDon't ignore commits on NEWS, etc. on AppVeyor
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.

6 years agoFixed bug #76536 (PHP crashes with core dump when throwing exception in error handler...
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)

6 years agoFixed bug #76534 (PHP hangs on 'illegal string offset on string references with an...
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)

6 years agoFix arginfo wrt. optional/required parameters
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.

6 years agoPrepare tests for ICU 62.1
Anatol Belski [Mon, 25 Jun 2018 09:30:14 +0000 (11:30 +0200)]
Prepare tests for ICU 62.1

6 years agoFixed bug #76502
Nikita Popov [Sun, 24 Jun 2018 20:26:45 +0000 (22:26 +0200)]
Fixed bug #76502

6 years agoUse unix NL in all openssl ext tests
Jakub Zelenka [Thu, 21 Jun 2018 15:43:32 +0000 (16:43 +0100)]
Use unix NL in all openssl ext tests

6 years agoMake code in openssl ext tests more consistent
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.

6 years agoFixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)
Xinchen Hui [Thu, 21 Jun 2018 09:26:05 +0000 (17:26 +0800)]
Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys)

6 years agoRevert "ICU 59+ requires C++11 and errors out without the option"
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.

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

6 years agoICU 59+ requires C++11 and errors out without the option
Stanislav Malyshev [Sun, 17 Jun 2018 23:00:06 +0000 (16:00 -0700)]
ICU 59+ requires C++11 and errors out without the option

6 years agoFixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid...
Dmitry Stogov [Wed, 13 Jun 2018 23:38:39 +0000 (02:38 +0300)]
Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)

6 years agoMake $locale parameter to BreakIterator ctors optional
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.

6 years agoRewrite FPM tests
Jakub Zelenka [Thu, 7 Jun 2018 16:21:54 +0000 (17:21 +0100)]
Rewrite FPM tests

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 12 Jun 2018 16:06:41 +0000 (18:06 +0200)]
[ci skip] Update NEWS

6 years agoFixed bug #76462 Undefined property: DateInterval::$f
Anatol Belski [Tue, 12 Jun 2018 13:30:14 +0000 (15:30 +0200)]
Fixed bug #76462 Undefined property: DateInterval::$f

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)

7 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

7 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

7 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

7 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

7 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

7 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.

7 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).

7 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.

7 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).

7 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

7 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

7 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()

7 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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

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

7 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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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.

7 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.

7 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

7 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.

7 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

7 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.

7 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)

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

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

7 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 .

7 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)

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

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

7 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.