History log of /php-src/NEWS (Results 1426 – 1450 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e4a1b80a 08-Sep-2022 Dominic H

Match FPM status pool's expose_php with parent

If an installed php.ini turns expose_php on/off, and an FPM pool
overrides that with php_flag[expose_php]=off/on, a status pool
created

Match FPM status pool's expose_php with parent

If an installed php.ini turns expose_php on/off, and an FPM pool
overrides that with php_flag[expose_php]=off/on, a status pool
created with pm.status_listen in a pool config will have its expose_php
reflect the php.ini value, and not the pool config's override.

This change looks for an override set in
php_flag/php_value/php_admin_flag/php_admin_value and carries that
through.

show more ...


# 1c5844aa 29-Oct-2022 Jakub Zelenka

Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11

SaltStack uses Python subprocess and redirects stderr to stdout which is
then piped to the returned output. If php-fpm starts in

Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11

SaltStack uses Python subprocess and redirects stderr to stdout which is
then piped to the returned output. If php-fpm starts in daemonized mode,
it should close stderr. However a fix introduced in GH-8913 keeps stderr
around so it can be later restored. That causes the issue reported in
GH-9754. The solution is to keep stderr around only when php-fpm runs in
foreground as the issue is most likely visible only there. Basically
there is no need to restore stderr when php-fpm is daemonized.

show more ...


# 7f0b228f 28-Oct-2022 Tim Düsterhus

Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP (#9839)

* Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP

As some left-over comments in

Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP (#9839)

* Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP

As some left-over comments indicated:

> Legacy mode deliberately not inside php_mt_rand_range()
> to prevent other functions being affected

The broken scaler was only used for `php_mt_rand_common()`, not
`php_mt_rand_range()`. The former is only used for `mt_rand()`, whereas the
latter is used for `array_rand()` and others.

With the refactoring for the introduction of ext/random `php_mt_rand_common()`
and `php_mt_rand_range()` were accidentally unified, thus introducing a
behavioral change that was reported in FakerPHP/Faker#528.

This commit moves the checks for `MT_RAND_PHP` from the general-purpose
`range()` function back into `php_mt_rand_common()` and also into
`Randomizer::getInt()` for drop-in compatibility with `mt_rand()`.

* [ci skip] NEWS for `MT_RAND_PHP` compatibility

show more ...


# bce12f4e 28-Oct-2022 Kamil Tekiela

Add NEWS entry for #9841


# 96049867 27-Oct-2022 Kamil Tekiela

Add NEWS entry for #9841

Closes GH-9841


# b9474bf3 24-Oct-2022 Florian Sowade

Don’t report arginfo violations on fake closures (#9823)


# 56c121ce 24-Oct-2022 Florian Sowade

Initialize run time cache in PDO methods (#9818)

Without the memset the memory was uninitialized and the new test segfaulted when accessing the memory in _zend_observe_fcall_begin().


# 4ccc4149 25-Oct-2022 Pierrick Charron

[ci skip] Update NEWS for PHP 8.2.0RC6


# 2669ed7d 24-Oct-2022 Stanislav Malyshev

Update NEWS


# b732d803 22-Oct-2022 Jakub Zelenka

Fix bug GH-9779: stream_copy_to_stream fail when dest in append mode


# 45e224cf 22-Oct-2022 Adam Saponara

Fix GH-9709: Guard against current_execute_data==NULL in is_handle_exception_set


# 5e9654be 22-Oct-2022 Bob Weinand

Fixed missing run_time_cache for preloaded arena allocated internal functions

This effectively affected all preloaded enums, leading them to possibly share a run_time_cache__ptr slot with un

Fixed missing run_time_cache for preloaded arena allocated internal functions

This effectively affected all preloaded enums, leading them to possibly share a run_time_cache__ptr slot with unrelated functions. (Given that these were not set again.)
This bugfix is not accompanied by a test, due to how hard to trigger it was and getting a crash also depends a lot on the precise alignment of whether a cache entry accidentally overlapping has been used etc.

show more ...


# fa1b6ab5 22-Oct-2022 Jakub Zelenka

Fix GH-8430: OpenSSL compiled with old disgests does not build

Specifically no-md2, no-md4 or no-rmd160 were not supported


# 1ef65c1c 17-Oct-2022 Jakub Zelenka

Clean up OpenSSL engine list when OpenSSL 1.0.2 used

Attempt to fix GH-8620.


# 9da75d0c 22-Oct-2022 Kévin Dunglas

fix: no-op when signal handlers are called on threads not managed by PHP (#9766)


# 6b358501 22-Oct-2022 Arnaud Le Blanc

[ci skip] NEWS


# 386bbf46 22-Oct-2022 Arnaud Le Blanc

[ci skip] NEWS


# 845c6b3b 22-Oct-2022 Arnaud Le Blanc

[ci skip] NEWS


# 248f6477 21-Oct-2022 Stanislav Malyshev

Fix bug #81738 (buffer overflow in hash_update() on long parameter)


# f5aaa8f1 18-Oct-2022 Christoph M. Becker

Fix GH-9372: HY010 when binding overlong parameter

If `SQLPutData()` *fails*, we should not call `SQLParamData()` again,
because that yields the confusing `HY010` (Function sequence erro

Fix GH-9372: HY010 when binding overlong parameter

If `SQLPutData()` *fails*, we should not call `SQLParamData()` again,
because that yields the confusing `HY010` (Function sequence error).
Instead we properly handle `SQLPutData()` errors.

For the given case (paramter length > column length), some drivers let
`SQLPutData()` fail, while others do not. Either behavior seems to
conform to the ODBC specification. Anyhow, we do not want to silently
truncate the given parameter, since that would break the behavior for
drivers which do not fail, but still don't simply truncate the given
parameter. So it is finally up to userland to avoid passing overlong
parameters – with this patch they at least get useful information about
the actual issue.

Closes GH-9541.

show more ...


# 41a6a298 17-Oct-2022 Derick Rethans

Update NEWS


# e6bfd7e0 16-Oct-2022 Kévin Dunglas

Set SA_ONSTACK too when zend signals are disabled and in pcntl

Closes GH-9758.


# 18fe337b 05-Oct-2022 Jakub Zelenka

Fix bug #51056: fread() on blocking stream will block even if data is available

This is applied only on socket connection which already returns
immediately if there is no data in the buf

Fix bug #51056: fread() on blocking stream will block even if data is available

This is applied only on socket connection which already returns
immediately if there is no data in the buffer.

show more ...


# 2c25dfb4 16-Oct-2022 Arnaud Le Blanc

[ci skip] NEWS


# e3c40c68 16-Oct-2022 Arnaud Le Blanc

[ci skip] NEWS


1...<<51525354555657585960>>...619