History log of /php-src/NEWS (Results 1851 – 1875 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# afd8f84c 30-Mar-2022 Paragon Initiative Enterprises

Add sodium_crypto_stream_xchacha20_xor_ic()

There are many use-cases where a PHP user is currently using sodium_compat's implementation of this low-level XChaCha20 API. For example, multi-pa

Add sodium_crypto_stream_xchacha20_xor_ic()

There are many use-cases where a PHP user is currently using sodium_compat's implementation of this low-level XChaCha20 API. For example, multi-part message processing (in low-memory settings) for a ciphertext that was encrypted with XChaCha20-Poly1305 (rather than the secretstream API).

Adding this function to ext/sodium offers better performance and lowers users' memory usage with the polyfill, and ensures that users coming from other languages that provide libsodium bindings have a more consistent experience with our bindings. This is a win-win.

This patch follows the libsodium precedent of adding functions instead of optional parameters to existing functions. The parameter order is also consistent with the C API.

https://doc.libsodium.org/advanced/stream_ciphers/xchacha20#usage

Closes GH-8276.

show more ...

# 2874e5fa 19-Mar-2022 David Carlier

FPM: Emit error for invalid port setting

# 16dceded 01-Apr-2022 Bob Weinand

Merge branch 'PHP-8.0' into PHP-8.1


# 13649451 01-Apr-2022 Bob Weinand

Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator

This also fixes the fact that exception traces were not including the generator frame when t

Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator

This also fixes the fact that exception traces were not including the generator frame when thrown in a yielded from iterator.

show more ...

# e6c49881 01-Apr-2022 Derick Rethans

Fixed #7752, #8101, #81660: DateTimeZone::getTransitions() returns insufficient data

# 5a899563 31-Mar-2022 Patrick Allaert

Bump for 8.1.6-dev

# 2145f80d 31-Mar-2022 Ilija Tovilo

Register JSON_ERROR_NON_BACKED_ENUM constant (#8285)

Fixes GH-8238

# 7e8dcda4 29-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8253: pg_insert() fails for references


# 0e6d6f83 28-Mar-2022 Christoph M. Becker

Fix GH-8253: pg_insert() fails for references

We need to deref the values.

Closes GH-8262.

# 5f20f9f7 28-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix result_type related stack corruption on LLP64 architectures


# 5a8622fe 28-Mar-2022 Christoph M. Becker

Fix result_type related stack corruption on LLP64 architectures

Integer parameters are stored in `zend_long` values, which have 64 bits
on LLP64, but `long` has only 32 bits there.

Fix result_type related stack corruption on LLP64 architectures

Integer parameters are stored in `zend_long` values, which have 64 bits
on LLP64, but `long` has only 32 bits there.

Adding a test might be overkill, because the broken behavior could
already be observed when running pg_select_001.phpt on Windows debug
builds, which report the stack corruption.

Closes GH-8263.

show more ...

# 1c3374c7 28-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix signedness confusion in php_filter_validate_domain()


# 771dbdb3 28-Mar-2022 Christoph M. Becker

Fix signedness confusion in php_filter_validate_domain()

As is, there is the possibility that integer underflow occurs, making
`_php_filter_validate_domain()` succeed for very long domai

Fix signedness confusion in php_filter_validate_domain()

As is, there is the possibility that integer underflow occurs, making
`_php_filter_validate_domain()` succeed for very long domain names.

Cf. <https://pwning.systems/posts/php_filter_var_shenanigans/>.

show more ...

# e706d024 04-Mar-2022 Ilija Tovilo

Fix IntlPartsIterator key off-by-one error

Closes GH-7734
Closes GH-8172

# 733023b2 10-Mar-2022 Ilija Tovilo

Improve error message class type

Refer to interfaces/enums instead of classes in more places.

Closes GH-7792
Closes GH-8187

# 50038312 17-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8208: mb_encode_mimeheader: $indent functionality broken


# d0417ebc 17-Mar-2022 Christoph M. Becker

Fix GH-8208: mb_encode_mimeheader: $indent functionality broken

We also need to factor in the indent, when getting the encoder result.

Closes GH-8213.

# aef65393 14-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8068: mysqli_fetch_object creates inaccessible properties


# ef29ddcc 10-Mar-2022 Christoph M. Becker

Fix GH-8068: mysqli_fetch_object creates inaccessible properties

When fetching into objects, we need to create object style hash tables,
i.e. where numeric column names are stored as str

Fix GH-8068: mysqli_fetch_object creates inaccessible properties

When fetching into objects, we need to create object style hash tables,
i.e. where numeric column names are stored as string keys instead of
integer keys. Instead of the slightly more efficient alternative to
create the desired hash table in the first place, we go for the more
readable implementation and convert the array style hash table using
`zend_symtable_to_proptable()`.

Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>

Closes GH-8189.

show more ...

# d0a05187 12-Mar-2022 Nikita Popov

Make DirectoryIterator current() / key() return types tentative

Fixes GH-8192.

# 0db03c41 10-Mar-2022 Ilija Tovilo

Improve sesson write failure message for user error handlers

Closes GH-7787
Closes GH-8186

# 0b1bca6b 11-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8160: ZTS support on Alpine is broken


# 2b2aeb98 07-Mar-2022 Michael Voříšek

Fix GH-8160: ZTS support on Alpine is broken

We need to export `__MUSL__` so that phpize builds can see the proper
macro, and also need to fix "_tsrm_ls_cache" usage for musl.

C

Fix GH-8160: ZTS support on Alpine is broken

We need to export `__MUSL__` so that phpize builds can see the proper
macro, and also need to fix "_tsrm_ls_cache" usage for musl.

Closes GH-8180.

show more ...

# f16d35cf 10-Mar-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix Solaris builds of ext/sockets


# 7eb972c4 31-Dec-2021 David Carlier

Fix Solaris builds of ext/sockets

We enable the proper ancillary data handling layout and API.

Closes GH-7859.

1...<<71727374757677787980>>...619