History log of /PHP-7.2/ (Results 126 – 150 of 83797)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
003c13d719-Sep-2019 Nikita Popov

Fix iterable return type optimization

3e139a4619-Sep-2019 Nikita Popov

Fix exif leak on duplicate copyright tags

e3255a4f18-Sep-2019 CJDennis

Fix typo

`sizeof("data")-1` and `sizeof("date")-1` are both 4, so no change in behaviour

175f4f2417-Sep-2019 Nikita Popov

Increase timeout in test

e691a98c29-Jul-2019 fancyweb

Fix #76342: file_get_contents waits twice specified timeout

252ebce012-Sep-2019 Drakano

Add tilde to allowed status/ping path

Because of user specific webdirs it should be possible to set a
status/ping path like "/~username/status".

Closes GH-4698.

29bced9513-Sep-2019 Tyson Andre

Fix opcache return type for get_headers in zend_func_info

https://www.php.net/manual/en/function.get-headers.php#refsect1-function.get-headers-examples
shows that it will return string k

Fix opcache return type for get_headers in zend_func_info

https://www.php.net/manual/en/function.get-headers.php#refsect1-function.get-headers-examples
shows that it will return string keys when the second argument is
non-zero. I've verified that this is the case.

This bug was there since the initial commit in c88ffa9a567.

Closes GH-4702.

show more ...

2f6efd8316-Sep-2019 Nikita Popov

Fixed bug #78545

By using an explicit (double) cast.

8873df8e16-Sep-2019 Nikita Popov

Fix leak in SplObjectStorage unserialization

The result of php_var_unserialize always needs to be destroyed,
even if the call failed.

81cefab715-Sep-2019 Christoph M. Becker

Stick with zend_long for ABI compatibility

Cf. <https://github.com/php/php-src/pull/4700#issuecomment-531515689>.

fdcca93012-Sep-2019 bugreportuser <37939393+bugreportuser@users.noreply.github.com>

Fix #78535: auto_detect_line_endings value not parsed as bool

7165183712-Sep-2019 Kalle Sommer Nielsen

NEWS

2823e93812-Sep-2019 Kalle Sommer Nielsen

Fixed bug #78442 ('Illegal component' on exif_read_data since PHP7)

a270eb1910-Sep-2019 Sara Golemon

Bump for 7.2.24

c43fc20410-Sep-2019 Remi Collet

Raise minimal GCC version,
Test with 4.8 is OK
With 4.4: error: #pragma GCC diagnostic not allowed inside functions

bca6600210-Sep-2019 Christoph M. Becker

Drop regression test

The state returned by `sodium_crypto_generichash_init()` has to be
regarded as opaque byte string; neither its size nor its exact
structure are fixed, and actual

Drop regression test

The state returned by `sodium_crypto_generichash_init()` has to be
regarded as opaque byte string; neither its size nor its exact
structure are fixed, and actually vary for diffent libsodium versions.
Therefore we drop the test altogether.

show more ...

1ac6b02508-Sep-2019 CHU Zhaowei

Fix bug #72884 isCloneable() on SplFileObject should return false

8ead779309-Sep-2019 Christoph M. Becker

Fix #78510: Partially uninitialized buffer returned by sodium_crypto_generichash_init()

Backport jedisct1/libsodium.php@28d13bf437cb969a0583031fc7ac54c5a8dc8116.

41a4379c06-Aug-2019 Christoph M. Becker

Fix #41997: SP call yields additional empty result set

When stored procedures are called, the "final result set is a status
result that includes no result set". Calling `::nextRowset()`

Fix #41997: SP call yields additional empty result set

When stored procedures are called, the "final result set is a status
result that includes no result set". Calling `::nextRowset()` on the
actual last result set should return FALSE, since there is actually no
further result set to be processed.

show more ...

9c3b7ccd03-Sep-2019 Tyson Andre

Fix opcache return type for hash_update_stream

It can return false if the resource type is wrong.

```
php > var_export(hash_update_stream(hash_init('md5'),
imagecrea

Fix opcache return type for hash_update_stream

It can return false if the resource type is wrong.

```
php > var_export(hash_update_stream(hash_init('md5'),
imagecreate(1,1)));

Warning: hash_update_stream(): supplied resource is not a valid stream
resource in php shell code on line 1
false
```

The return types were initially added in
c88ffa9a5673cb3141660626ba1921671f0b84d6

show more ...

cd63908a02-Sep-2019 Christoph M. Becker

Fix #76577: outdated documentation concerning track_errors

5a0980f102-Sep-2019 Nikita Popov

Fix pkg-config version constraint for ICU

On PHP 7.2 our minimum ICU version is 4.0, not 40.

8f564e5328-Aug-2019 Sergei Turchanov

Fixed bug #78469

fcgi_accept_request function is supposed to call a FastCGI implementation's
on_accept hook when entering an "accepting" stage (that is right before
calling "accept")

Fixed bug #78469

fcgi_accept_request function is supposed to call a FastCGI implementation's
on_accept hook when entering an "accepting" stage (that is right before
calling "accept"). This hook implementation (fpm_request_accepting) updates
a worker state to an "accepting" state which is effectively an "Idle" state,
and updates counters on the scoreboard of the corresponding pool (idle++,
active--).

But this is not done when listening for client connections on a named pipe on
Windows platform. In that case a combination of
ConnectNamedPipe/WaitForSingleObject is used (to be able to catch in_shutdown
as far as I understand), but it is nonetheless functionally equivalent to
"accept" call. Also by not calling on_hook neither a worker's state is updated
to "accepting" state nor scoreboard counters are updated.

show more ...

ed749edd29-Aug-2019 Nikita Popov

Fix use-after-free of immediately invoked closure with extra args

b557265828-Aug-2019 Christoph M. Becker

Fix #78473: odbc_close() closes arbitrary resources

We have to bail out, if an invalid resource is given. For consistency
with the other `zend_fetch_resource(2)` calls, we return `FALSE

Fix #78473: odbc_close() closes arbitrary resources

We have to bail out, if an invalid resource is given. For consistency
with the other `zend_fetch_resource(2)` calls, we return `FALSE`.

show more ...

12345678910>>...3352