History log of /PHP-7.2/ (Results 151 – 175 of 83797)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fadd7f0f28-Aug-2019 Joe Watkins

bump versions after release

481520d328-Aug-2019 Joe Watkins

set versions for release

88ab374627-Aug-2019 Christoph M. Becker

Update SDK version for AppVeyor

589542f526-Aug-2019 Nikita Popov

Remove properties HT from nested GC data

The properties HT may be a GC root itself, so we need to remove it.
I'm not sure this issue actually applies to PHP 7.2, but committing
it th

Remove properties HT from nested GC data

The properties HT may be a GC root itself, so we need to remove it.
I'm not sure this issue actually applies to PHP 7.2, but committing
it there to be safe. As seen from the test case, the handling here
is rather buggy on 7.2.

show more ...

1e82a2d625-Aug-2019 Tyson Andre

Also fix signature for passthru

Backported from a1a8d144854acb1c891cf0c21abb0f612b1d8de7
https://www.php.net/manual/en/function.passthru.php#refsect1-function.passthru-returnvalues

Also fix signature for passthru

Backported from a1a8d144854acb1c891cf0c21abb0f612b1d8de7
https://www.php.net/manual/en/function.passthru.php#refsect1-function.passthru-returnvalues

`passthru()` is false with invalid args
`passthru('command')` is null.

show more ...

f5bccc0e25-Aug-2019 Tyson Andre

Fix opcache optimizer info for time_nanosleep

This can also return an array. See
https://www.php.net/manual/en/function.time-nanosleep.php#refsect1-function.time-nanosleep-returnvalues

Fix opcache optimizer info for time_nanosleep

This can also return an array. See
https://www.php.net/manual/en/function.time-nanosleep.php#refsect1-function.time-nanosleep-returnvalues

> If the delay was interrupted by a signal, an associative array will be
returned with the components:
>
> - seconds - number of seconds remaining in the delay
> - nanoseconds - number of nanoseconds remaining in the delay

Sending a SIGUSR1 to the below program would trigger this behavior.

```
pcntl_signal(\SIGUSR1, function ($signo, $signinfo) {
echo "Handling a signal $signo\n";
});
echo "Sleeping for 100 seconds\n";
var_export(time_nanosleep(100, 0));
```

The incomplete signature existed since c88ffa9a5.
No phpt tests existed for time_nanosleep returning an array

show more ...

16d35eb626-Aug-2019 Nikita Popov

Fix overflow in memory limit checks

Due to overflows in the memory limit checks, we were missing cases
where the allocation size was close to the address space size, and
caused an OO

Fix overflow in memory limit checks

Due to overflows in the memory limit checks, we were missing cases
where the allocation size was close to the address space size, and
caused an OOM condition rather than a memory limit error.

show more ...

4b4a656d26-Aug-2019 Stanislav Malyshev

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix #75457: heap-use-after-free in php7.0.25


7bf1f9d516-Aug-2019 Christoph M. Becker

Fix #75457: heap-use-after-free in php7.0.25

Backport <https://vcs.pcre.org/pcre?view=revision&revision=1638>.

087cb7ba25-Aug-2019 Stanislav Malyshev

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()
set version for release


1258303e25-Aug-2019 Stanislav Malyshev

Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()

Backport from https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55

ff7029b623-Aug-2019 Christoph M. Becker

Suppress deprecation warning on IDNA2003 ICU methods for clang

cdf16c0112-Aug-2019 Qianqian Bu

fix the problem for connect_attr, set db condition, and add a new attribute _server_host

81f5215819-Aug-2019 Christoph M. Becker

Fix #78220: Can't access OneDrive folder

As of Windows 1903, when the OneDrive on-demand feature is enabled, the
OneDrive folder is reported as reparse point by `FindFirstFile()`, but

Fix #78220: Can't access OneDrive folder

As of Windows 1903, when the OneDrive on-demand feature is enabled, the
OneDrive folder is reported as reparse point by `FindFirstFile()`, but
trying to get information about the reparse point using
`DeviceIoControl()` fails with `ERROR_NOT_A_REPARSE_POINT`. We work
around this problem by falling back to `GetFileInformationByHandle()`
if that happens, but only if the reparse point is reported as cloud
reparse point, and only if PHP is running on Windows 1903 or later.

The patch has been developed in collaboration with ab@php.net.

We should keep an eye on the somewhat quirky OneDrive behavior, since
it might change again in a future Windows release.

show more ...

725f439716-Aug-2019 Sara Golemon

Suppress deprecation warning on IDNA2003 ICU methods

fcabe7e514-Aug-2019 Nikita Popov

Fixed bug #78412

$this should only be included in the generator GC buffer, if it
will be released on destruction.

4b64d47c13-Aug-2019 Sara Golemon

Bump for 7.2.23

4eeb41d113-Aug-2019 Nikita Popov

Fixed bug #77191

18f2918a13-Aug-2019 Nikita Popov

Don't destroy properties array with unset GC type

As the properties array can also be a GC root, it might have
already been destroyed.

f3fdf57012-Aug-2019 Nikita Popov

Intern alias old_name early

This is likely going to end up interned lateron at some point
when the new_name is referenced somewhere. However, it may be
that there are some uses that

Intern alias old_name early

This is likely going to end up interned lateron at some point
when the new_name is referenced somewhere. However, it may be
that there are some uses that do not get interned before that.
In this case we will intern a string that already have zval
users, without updating the refcounted flag on those zvals.

In particular this can happen with something like [Foo::class],
where Foo is an imported symbol. The string it resolves to won't
get interned right away, but may be interned later.

use Foo as Bar;
$x = [Bar::class];
var_dump(Bar::X);
debug_zval_dump($x); // Will show negative refcount
class Foo {
const X = 1;
}

However, this doesn't really fix the root cause, there are probably
other situations where something similar can occur.

show more ...

9b43e29d09-Aug-2019 Dmitry Stogov

Fixed handling of references in nested data of objects with destructor

6b1cc12509-Aug-2019 Dmitry Stogov

Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)

2e2cd65d09-Aug-2019 Dmitry Stogov

Added asserts to catch GC errors when refcount goes below zero.

796efd8409-Aug-2019 Matteo Beccati

Skip test when SIGKILL is not defined

358379be08-Aug-2019 Dmitry Stogov

Fixed bug #78379 (Cast to object confuses GC, causes crash)

12345678910>>...3352