]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.2' into PHP-7.3
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

6 years ago[ci skip] fix NEWS
Remi Collet [Mon, 7 Jan 2019 10:02:40 +0000 (11:02 +0100)]
[ci skip] fix NEWS

6 years agoFix one issue reported in bug #77310
Nikita Popov [Mon, 7 Jan 2019 08:58:59 +0000 (09:58 +0100)]
Fix one issue reported in bug #77310

SCCP did not handle array ASSIGN_* with a BOT operand correctly.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 7 Jan 2019 09:04:16 +0000 (01:04 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Still leaking for some reason, XFAIL for now, I'll look into it later.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 7 Jan 2019 09:03:26 +0000 (01:03 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Still leaking for some reason, XFAIL for now, I'll look into it later.

6 years agoStill leaking for some reason, XFAIL for now, I'll look into it later.
Stanislav Malyshev [Mon, 7 Jan 2019 09:03:04 +0000 (01:03 -0800)]
Still leaking for some reason, XFAIL for now, I'll look into it later.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 7 Jan 2019 07:34:46 +0000 (23:34 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
  Add NEWS
  [ci skip] Add NEWS
  Fix more issues with encodilng length
  Fix #77270: imagecolormatch Out Of Bounds Write on Heap
  Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)
  Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
  Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
  Fix #77269: Potential unsigned underflow in gdImageScale
  Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
  Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
  Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 7 Jan 2019 07:34:02 +0000 (23:34 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
  Add NEWS
  [ci skip] Add NEWS
  Fix more issues with encodilng length
  Fix #77270: imagecolormatch Out Of Bounds Write on Heap
  Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)
  Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
  Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
  Fix #77269: Potential unsigned underflow in gdImageScale
  Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
  Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
  Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-5.6' into PHP-7.1
Stanislav Malyshev [Mon, 7 Jan 2019 07:32:36 +0000 (23:32 -0800)]
Merge branch 'PHP-5.6' into PHP-7.1

* PHP-5.6:
  Fix bug #77418 - Heap overflow in utf32be_mbc_to_code
  [ci skip] Add NEWS
  Fix more issues with encodilng length
  Fix #77270: imagecolormatch Out Of Bounds Write on Heap
  Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)
  Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
  Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
  Fix #77269: Potential unsigned underflow in gdImageScale
  Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
  Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
  Regenerate certs for openssl tests

6 years agoFix bug #77418 - Heap overflow in utf32be_mbc_to_code
Stanislav Malyshev [Mon, 7 Jan 2019 07:31:15 +0000 (23:31 -0800)]
Fix bug #77418 - Heap overflow in utf32be_mbc_to_code

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Sun, 6 Jan 2019 21:50:28 +0000 (13:50 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix tests - newer versions check Unicode
  Add NEWS
  Fix test

6 years agoFix tests - newer versions check Unicode
Stanislav Malyshev [Sun, 6 Jan 2019 21:28:30 +0000 (13:28 -0800)]
Fix tests - newer versions check Unicode

6 years agoAdd NEWS
Stanislav Malyshev [Sun, 6 Jan 2019 21:11:55 +0000 (13:11 -0800)]
Add NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 6 Jan 2019 21:05:49 +0000 (13:05 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add NEWS

6 years agoAdd NEWS
Stanislav Malyshev [Sun, 6 Jan 2019 21:04:51 +0000 (13:04 -0800)]
Add NEWS

6 years agoAdd NEWS
Stanislav Malyshev [Sun, 6 Jan 2019 21:04:51 +0000 (13:04 -0800)]
Add NEWS

6 years ago[ci skip] Add NEWS
Stanislav Malyshev [Sun, 6 Jan 2019 21:03:38 +0000 (13:03 -0800)]
[ci skip] Add NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 6 Jan 2019 20:54:09 +0000 (12:54 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix test

6 years agoFix test
Stanislav Malyshev [Sun, 6 Jan 2019 20:30:44 +0000 (12:30 -0800)]
Fix test

6 years agoFix #77367: Negative size parameter in mb_split
Christoph M. Becker [Sat, 29 Dec 2018 13:17:23 +0000 (14:17 +0100)]
Fix #77367: Negative size parameter in mb_split

When adding the last element to the result value of `mb_split`, the
`chunk_pos` may point beyond the end of the string, in which case the
unsigned `n` would underflow.  Therefore, we check whether this is the
case in the first place, and only calculate `n` otherwise.  Since `n`
is no longer used outside the block, we move its declaration inside.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Sun, 6 Jan 2019 20:23:53 +0000 (12:23 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #77369 - memcpy with negative length via crafted DNS response
  Fix more issues with encodilng length
  Fix #77270: imagecolormatch Out Of Bounds Write on Heap
  Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)
  Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
  Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
  Fix #77269: Potential unsigned underflow in gdImageScale
  Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
  Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
  Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 6 Jan 2019 19:57:16 +0000 (11:57 -0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #77369 - memcpy with negative length via crafted DNS response
  Fix more issues with encodilng length
  Fix #77270: imagecolormatch Out Of Bounds Write on Heap
  Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)
  Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
  Fix bug #77370 - check that we do not read past buffer end when parsing multibytes
  Fix #77269: Potential unsigned underflow in gdImageScale
  Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
  Fix bug #77242 (heap out of bounds read in xmlrpc_decode())
  Regenerate certs for openssl tests

6 years agoFix #77369 - memcpy with negative length via crafted DNS response
Stanislav Malyshev [Sun, 30 Dec 2018 04:39:08 +0000 (20:39 -0800)]
Fix #77369 - memcpy with negative length via crafted DNS response

6 years agoFix more issues with encodilng length
Stanislav Malyshev [Wed, 2 Jan 2019 08:36:30 +0000 (00:36 -0800)]
Fix more issues with encodilng length

Should fix bug #77381, bug #77382, bug #77385, bug #77394.

6 years agoFix #77270: imagecolormatch Out Of Bounds Write on Heap
Christoph M. Becker [Sun, 30 Dec 2018 12:59:26 +0000 (13:59 +0100)]
Fix #77270: imagecolormatch Out Of Bounds Write on Heap

At least some of the image reading functions may return images which
use color indexes greater than or equal to im->colorsTotal.  We cater
to this by always using a buffer size which is sufficient for
`gdMaxColors` in `gdImageColorMatch()`.

6 years agoFix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Stanislav Malyshev [Wed, 2 Jan 2019 01:15:20 +0000 (17:15 -0800)]
Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)

6 years agoFix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Stanislav Malyshev [Sun, 30 Dec 2018 04:06:08 +0000 (20:06 -0800)]
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)

6 years agoFix bug #77370 - check that we do not read past buffer end when parsing multibytes
Stanislav Malyshev [Sun, 30 Dec 2018 03:51:24 +0000 (19:51 -0800)]
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes

6 years agoFix #77269: Potential unsigned underflow in gdImageScale
Christoph M. Becker [Wed, 12 Dec 2018 15:00:59 +0000 (16:00 +0100)]
Fix #77269: Potential unsigned underflow in gdImageScale

Belatedly, we're porting the respective upstream patch[1].

[1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35>

6 years agoFix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Stanislav Malyshev [Sun, 30 Dec 2018 02:25:37 +0000 (18:25 -0800)]
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)

6 years agoFix bug #77242 (heap out of bounds read in xmlrpc_decode())
Stanislav Malyshev [Sun, 30 Dec 2018 01:56:36 +0000 (17:56 -0800)]
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())

6 years agoRegenerate certs for openssl tests
Alexander Kurilo [Mon, 31 Dec 2018 09:19:36 +0000 (12:19 +0300)]
Regenerate certs for openssl tests

6 years agoFix more issues with encodilng length
Stanislav Malyshev [Wed, 2 Jan 2019 08:36:30 +0000 (00:36 -0800)]
Fix more issues with encodilng length

Should fix bug #77381, bug #77382, bug #77385, bug #77394.

6 years agoFix #77270: imagecolormatch Out Of Bounds Write on Heap
Christoph M. Becker [Sun, 30 Dec 2018 12:59:26 +0000 (13:59 +0100)]
Fix #77270: imagecolormatch Out Of Bounds Write on Heap

At least some of the image reading functions may return images which
use color indexes greater than or equal to im->colorsTotal.  We cater
to this by always using a buffer size which is sufficient for
`gdMaxColors` in `gdImageColorMatch()`.

6 years agoFix bug #77380 (Global out of bounds read in xmlrpc base64 code)
Stanislav Malyshev [Wed, 2 Jan 2019 01:15:20 +0000 (17:15 -0800)]
Fix bug #77380  (Global out of bounds read in xmlrpc base64 code)

6 years agoFix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)
Stanislav Malyshev [Sun, 30 Dec 2018 04:06:08 +0000 (20:06 -0800)]
Fix bug #77371 (heap buffer overflow in mb regex functions - compile_string_node)

6 years agoFix bug #77370 - check that we do not read past buffer end when parsing multibytes
Stanislav Malyshev [Sun, 30 Dec 2018 03:51:24 +0000 (19:51 -0800)]
Fix bug #77370 - check that we do not read past buffer end when parsing multibytes

6 years agoFix #77269: Potential unsigned underflow in gdImageScale
Christoph M. Becker [Wed, 12 Dec 2018 15:00:59 +0000 (16:00 +0100)]
Fix #77269: Potential unsigned underflow in gdImageScale

Belatedly, we're porting the respective upstream patch[1].

[1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35>

6 years agoFix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)
Stanislav Malyshev [Sun, 30 Dec 2018 02:25:37 +0000 (18:25 -0800)]
Fix bug #77247 (heap buffer overflow in phar_detect_phar_fname_ext)

6 years agoFix bug #77242 (heap out of bounds read in xmlrpc_decode())
Stanislav Malyshev [Sun, 30 Dec 2018 01:56:36 +0000 (17:56 -0800)]
Fix bug #77242 (heap out of bounds read in xmlrpc_decode())

6 years agoFix bug #77410
Nikita Popov [Fri, 4 Jan 2019 11:40:28 +0000 (12:40 +0100)]
Fix bug #77410

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 4 Jan 2019 08:53:30 +0000 (09:53 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix self::class inside constant in global scope
Nikita Popov [Fri, 4 Jan 2019 08:52:04 +0000 (09:52 +0100)]
Fix self::class inside constant in global scope

Previously this triggered an assertion failure. The behavior is
not quite correct, in that self::class should generate an exception
if there is no self, but returns an empty string here. Fixing that
would be a bit too intrusive for the 7.2 branch.

6 years agoAdd NEWS entry for bug #77357
Nikita Popov [Fri, 4 Jan 2019 08:07:32 +0000 (09:07 +0100)]
Add NEWS entry for bug #77357

The fix has been confirmed.

[ci skip]

6 years agoPossible fix for bug #77357
Nikita Popov [Thu, 3 Jan 2019 09:24:48 +0000 (10:24 +0100)]
Possible fix for bug #77357

Don't invoke CPUID with feature levels above the supported maximum.
In this case CPUID will return the highest supported basic information
leaf, which will have unrelated bits in the relevant positions.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 3 Jan 2019 08:40:14 +0000 (09:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #77273
Nikita Popov [Thu, 3 Jan 2019 08:40:07 +0000 (09:40 +0100)]
Fixed bug #77273

6 years agoRegenerate certs for openssl tests
Alexander Kurilo [Mon, 31 Dec 2018 09:19:36 +0000 (12:19 +0300)]
Regenerate certs for openssl tests

6 years agoPossible fix for bug #77287
Nikita Popov [Wed, 2 Jan 2019 12:58:44 +0000 (13:58 +0100)]
Possible fix for bug #77287

The cache size could be off by 4, if we're on a 32-bit system and
the slot had to be bumped for alignment reasons.

I wasn't able to reproduce the issue reported in bug #77287, but I
think this might be the cause.

6 years agoDisable ifuncs on FreeBSD
Nikita Popov [Wed, 2 Jan 2019 11:59:22 +0000 (12:59 +0100)]
Disable ifuncs on FreeBSD

Intended as at least a preliminary fix for bug #77284. If/when we
figure out what exactly the issue is, we can relax this.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 2 Jan 2019 10:34:15 +0000 (11:34 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoPartial fix for bug #75426
Nikita Popov [Wed, 2 Jan 2019 10:32:48 +0000 (11:32 +0100)]
Partial fix for bug #75426

This does not print the exact line of the comma, but rather the line
of the previous element. This should generally be "good enough", as
the line number is close (off by one) to the actual issue now.
Previously it would point to the start of the array, which may be
very far away.

6 years agoskeleton: support PHP 7.2
Vincent JARDIN [Tue, 1 Jan 2019 23:06:29 +0000 (00:06 +0100)]
skeleton: support PHP 7.2

skeleton can still be leveraged with older PHP releases, including
PHP 7.2.

I wanted to add this capability since PHP 7.2 is still widely provided
with most Linux distributions.

I am using ext_skel.php on a vanilla Ubuntu 18.04 and Windows
in order to illustrate how to develop a PHP extension for both
OS using the default tools provided by the distributions.
  see: https://github.com/vjardin/php-bonjour

6 years agoUpdate NEWS
Anatol Belski [Wed, 2 Jan 2019 10:02:29 +0000 (11:02 +0100)]
Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 2 Jan 2019 10:01:34 +0000 (11:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

6 years agoFixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external...
Anatol Belski [Wed, 2 Jan 2019 09:56:35 +0000 (10:56 +0100)]
Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

6 years agoEntry get lost while merging
Xinchen Hui [Wed, 2 Jan 2019 08:46:41 +0000 (16:46 +0800)]
Entry get lost while merging

6 years agoMerge branch 'PHP-7.3' of git.php.net:/php-src into PHP-7.3
Xinchen Hui [Wed, 2 Jan 2019 08:45:38 +0000 (16:45 +0800)]
Merge branch 'PHP-7.3' of git.php.net:/php-src into PHP-7.3

* 'PHP-7.3' of git.php.net:/php-src:
  Fixed bug #77257

6 years agoFixed bug #77387 (Recursion detection broken when printing GLOBALS)
Xinchen Hui [Wed, 2 Jan 2019 08:42:05 +0000 (16:42 +0800)]
Fixed bug #77387 (Recursion detection broken when printing GLOBALS)

6 years agoFixed bug #77257
Nikita Popov [Wed, 2 Jan 2019 08:31:50 +0000 (09:31 +0100)]
Fixed bug #77257

Correctly handle the case of duplicate predecessors, by removing the
duplicate predecessor and corresponding phi node operands.

For the future, it would be better to instead allow duplicate
predecessors and avoid this kind of fragile code...

6 years agoFixed bug #77376 ("undefined function" message no longer includes namespace)
Xinchen Hui [Wed, 2 Jan 2019 07:32:17 +0000 (15:32 +0800)]
Fixed bug #77376 ("undefined function" message no longer includes namespace)

6 years agoUpdate NEWS
Xinchen Hui [Wed, 2 Jan 2019 04:10:23 +0000 (12:10 +0800)]
Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Xinchen Hui [Wed, 2 Jan 2019 04:10:04 +0000 (12:10 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #77395 (segfault about array_multisort)

6 years agoFixed bug #77395 (segfault about array_multisort)
Xinchen Hui [Wed, 2 Jan 2019 04:09:47 +0000 (12:09 +0800)]
Fixed bug #77395 (segfault about array_multisort)

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 31 Dec 2018 19:49:35 +0000 (20:49 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #77391: 1bpp BMPs may fail to be loaded

6 years agoFix #77391: 1bpp BMPs may fail to be loaded
Christoph M. Becker [Mon, 31 Dec 2018 19:45:47 +0000 (20:45 +0100)]
Fix #77391: 1bpp BMPs may fail to be loaded

We port the upstream fix[1].

[1] <https://github.com/libgd/libgd/commit/d0859134fcbd8817f87895bd1cb158096568a7a2>

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 31 Dec 2018 17:27:26 +0000 (18:27 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Regenerate certs for openssl tests

6 years agoRegenerate certs for openssl tests
Alexander Kurilo [Mon, 31 Dec 2018 09:19:36 +0000 (12:19 +0300)]
Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Sun, 30 Dec 2018 13:37:04 +0000 (14:37 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Drop deprecated /Gm compile option

6 years agoDrop deprecated /Gm compile option
Christoph M. Becker [Fri, 28 Dec 2018 17:12:50 +0000 (18:12 +0100)]
Drop deprecated /Gm compile option

The `/Gm` option of `cl` is deprecated[1], and `cl` claims that it will
be removed in the future, so we're dropping it right away.

[1] <https://docs.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=vs-2017>

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 29 Dec 2018 16:51:39 +0000 (17:51 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Increase timeout for test on AppVeyor

6 years agoIncrease timeout for test on AppVeyor
Anatol Belski [Sat, 29 Dec 2018 16:48:25 +0000 (17:48 +0100)]
Increase timeout for test on AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 29 Dec 2018 15:23:24 +0000 (16:23 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add memory check to the test

6 years agoAdd memory check to the test
Anatol Belski [Sat, 29 Dec 2018 15:22:31 +0000 (16:22 +0100)]
Add memory check to the test

6 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 28 Dec 2018 15:40:06 +0000 (16:40 +0100)]
[ci skip] Update NEWS

6 years agoFixed bug #77346 webm files incorrectly detected as application/octet-stream
Anatol Belski [Fri, 28 Dec 2018 12:25:40 +0000 (13:25 +0100)]
Fixed bug #77346 webm files incorrectly detected as application/octet-stream

HEADSUP data from file 5.34 is used from now on

6 years agoFix #77360: class_uses causes segfault
Lauri Kenttä [Thu, 27 Dec 2018 14:16:29 +0000 (16:16 +0200)]
Fix #77360: class_uses causes segfault

6 years agoFix #77359: spl_autoload causes segfault
Lauri Kenttä [Thu, 27 Dec 2018 13:47:33 +0000 (15:47 +0200)]
Fix #77359: spl_autoload causes segfault

Use the correct function to free the string.

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:45:19 +0000 (20:45 +0100)]
Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:07:31 +0000 (20:07 +0100)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 19:06:01 +0000 (20:06 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:05:15 +0000 (20:05 +0100)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 18:01:36 +0000 (19:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

6 years agoInitialize s_un (sockaddr_un) to zero before using it. Fixes #76839.
Michael Meyer [Wed, 5 Sep 2018 14:21:36 +0000 (10:21 -0400)]
Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

6 years agoFixed bug #77338
Nikita Popov [Wed, 26 Dec 2018 16:11:27 +0000 (17:11 +0100)]
Fixed bug #77338

Set preg_options to 0 in php_pcre_get_compiled_regex(_ex). These
options are intended to be passed to pcre2_match. However, we do
not have any flags that actually need to be set during matching
(all relevant flags are set during compilation), and the preg_flags
value is used for PHP-specific flags instead.

This parameter should be removed entirely in master to avoid confusion.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 13:17:56 +0000 (14:17 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update binary SDK version for AppVeyor

6 years agoUpdate binary SDK version for AppVeyor
Anatol Belski [Wed, 26 Dec 2018 13:15:21 +0000 (14:15 +0100)]
Update binary SDK version for AppVeyor

6 years agoFixed bug #77317 __DIR__, __FILE__, realpath() reveal physical path for subst virtual...
Anatol Belski [Wed, 26 Dec 2018 11:49:49 +0000 (12:49 +0100)]
Fixed bug #77317 __DIR__, __FILE__, realpath() reveal physical path for subst virtual drive

Keep compatibility with 7.2 and below which better comply with
realpath(3). This might have been fixable another way, say by checking
of QueryDosDevice or alike, sadly that comes with a huge performance
impact. The new internal realpath API is kept available so is
usable when bind or network mount or other OS specific realpath
variants are needed. If not used by default, a userspace function for
this specific case might be considered to be offered in next minor.

6 years agoRespect EG(vm_stack_page_size)
Dmitry Stogov [Wed, 26 Dec 2018 10:09:32 +0000 (13:09 +0300)]
Respect EG(vm_stack_page_size)

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Mon, 24 Dec 2018 10:45:40 +0000 (13:45 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Backport later interned strings destruction.

6 years agoBackport later interned strings destruction.
Dmitry Stogov [Mon, 24 Dec 2018 10:45:02 +0000 (13:45 +0300)]
Backport later interned strings destruction.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Mon, 24 Dec 2018 10:23:47 +0000 (13:23 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #77339 (__callStatic may get incorrect arguments)

6 years agoFixed bug #77339 (__callStatic may get incorrect arguments)
Dmitry Stogov [Mon, 24 Dec 2018 10:22:43 +0000 (13:22 +0300)]
Fixed bug #77339 (__callStatic may get incorrect arguments)

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Sun, 23 Dec 2018 19:20:53 +0000 (20:20 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix invalid efree in browscap
Nikita Popov [Sun, 23 Dec 2018 19:20:04 +0000 (20:20 +0100)]
Fix invalid efree in browscap

Related to bug #77338.

6 years agoMerge branch 'timelib-201801RC3' into PHP-7.3
Derick Rethans [Sun, 23 Dec 2018 17:57:09 +0000 (17:57 +0000)]
Merge branch 'timelib-201801RC3' into PHP-7.3

6 years agoUpdate API use due to changes in timelib 2018.01RC3
Derick Rethans [Sun, 23 Dec 2018 17:54:57 +0000 (17:54 +0000)]
Update API use due to changes in timelib 2018.01RC3

6 years agoUpgrade timelib to 2018.01RC3
Derick Rethans [Sun, 23 Dec 2018 17:54:37 +0000 (17:54 +0000)]
Upgrade timelib to 2018.01RC3

6 years agoFix #77298: segfault occurs when add property to unserialized empty ArrayObject
CHU Zhaowei [Wed, 19 Dec 2018 15:53:48 +0000 (16:53 +0100)]
Fix #77298: segfault occurs when add property to unserialized empty ArrayObject

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Fri, 21 Dec 2018 16:01:18 +0000 (19:01 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Removed /e modifirer and fixed ws.