| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
We backport kkos/oniguruma@d3e402928b6eb3327f8f7d59a9edfa622fec557b.
(cherry picked from commit 8f949eba8083e34d181c30bcf11aaeef2496bb97)
|
|
|
|
|
|
|
| |
Test with 4.8 is OK
With 4.4: error: #pragma GCC diagnostic not allowed inside functions
(cherry picked from commit c43fc204b1639a8aa6c6212202def29b3c4cf611)
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
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.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
7.3.10 is next, not 7.3.11.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #78510: Partially uninitialized buffer returned by sodium_crypto_generichash_init()
|
| |
| |
| |
| |
| |
| | |
sodium_crypto_generichash_init()
Backport jedisct1/libsodium.php@28d13bf437cb969a0583031fc7ac54c5a8dc8116.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
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.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #76577: outdated documentation concerning track_errors
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
On PHP 7.2 our minimum ICU version is 4.0, not 40.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
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`.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Update SDK version for AppVeyor
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
Not sure why offset changed... probably different PCRE version calculates
them in different way.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix #75457: heap-use-after-free in php7.0.25
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fix #75457: heap-use-after-free in php7.0.25
|
| | |
| | |
| | |
| | | |
Backport <https://vcs.pcre.org/pcre?view=revision&revision=1638>.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.2:
Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()
set version for release
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.1:
Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()
set version for release
|
| | |
| | |
| | |
| | | |
Backport from https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As of PHP 7.3.0, the rules regarding the heredoc and nowdoc closing
identifier have been relaxed. While formerly, the closing identifier
was required to be placed at the beginning of a line and to be
immediately followed by (a semicolon and) a line break, it may now be
preceeded by whitespace, and may be followed by any non-word character.
We adjust the recognition logic respectively.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Suppress deprecation warning on IDNA2003 ICU methods for clang
|
| | | |
|