History log of /php-src/NEWS (Results 851 – 875 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# ae9118a7 28-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


# bbfadd32 28-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


# 83a505e8 14-Oct-2023 Michael Voříšek

Fix GH-11374: Different preg_match result with -d pcre.jit=0

This is a backport of https://github.com/PCRE2Project/pcre2/pull/300.

Closes GH-12439.


# f8433a51 26-Oct-2023 Ayesh Karunaratne

Minor fix in `NEWS` alignment

Fixes a minor misalignment in `NEWS` file, following the other list items
in the rest of the file.


# 27797a26 18-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix bug #75306: Memleak in SoapClient

Setting the stream context via php_stream_context_to_zval() will
increase the reference count. So if the new context is created, then it
will en

Fix bug #75306: Memleak in SoapClient

Setting the stream context via php_stream_context_to_zval() will
increase the reference count. So if the new context is created, then it
will end up with a reference count of 2 while it should be 1.

Credits to cmb for the analysis. I arrived at the same patch as he did.

Closes GH-12523.

show more ...


# 9f7f3b20 24-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix incorrect dtor for persistent sdl->encoders

Closes GH-12515.


# 98908db7 24-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS


# 900f0cab 24-Oct-2023 icy17 <1061499390@qq.com>

Fix null pointer dereferences in case of allocation failure

Closes GH-12506.


# e58af7c1 12-Oct-2023 Viktor Vassilyev

ext/soap: Add support for clark notation for namespaces in class map

Closes GH-12411.


# 1b5e58f2 22-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS

NEWS for 98b08c52db that I forgot to add.


# 52aa0d9e 23-Sep-2023 Jakub Zelenka

Fix bug #75708: getimagesize with "&$imageinfo" fails on StreamWrappers

Closes GH-12444


# 83a242ec 21-Oct-2023 Jakub Zelenka

Fix GH-12489: Missing sigbio creation checking in openssl_cms_verify

Closes GH-12490


# 01d61605 19-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix segfault and assertion failure with refcounted props and arrays

Closes GH-12478.


# 6d10a698 20-Oct-2023 Yurun

Fix the incorrect data type of float values in PDO query results

Close GH-12476


# abf562c4 19-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix incorrect uri check in SOAP caching

If i == 0 then the check will compare 0 bytes.
We are supposed to check if the uri is identical.

Closes GH-12479.


# 43e63168 18-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix bug #66150: SOAP WSDL cache race condition causes Segmentation Fault

When we have two processes both trying to cache a WSDL, they might start
writing the data to the same temporary f

Fix bug #66150: SOAP WSDL cache race condition causes Segmentation Fault

When we have two processes both trying to cache a WSDL, they might start
writing the data to the same temporary file, causing file corruption due
to the race condition. Fix this by creating a temporary file first, and
then moving it to the final location. If moving fails then we know
another process finished caching first.

This also fixes #67617 as a consequence of its implementation.

Closes GH-12469.

show more ...


# af3d2f7e 18-Oct-2023 Ilija Tovilo

Fix double-free of doc_comment when overriding static property via trait

When redeclaring an overridden static property with a trait we're removing the
property from the class. However,

Fix double-free of doc_comment when overriding static property via trait

When redeclaring an overridden static property with a trait we're removing the
property from the class. However, because the property itself does not belong to
the class we must not free its associated data.

This issue is exposed by 9a250cc9d6 in PHP 8.3+ because duplicate static
properties in traits are no longer skipped, but redeclared.

Fixes GH-12468

show more ...


# 736032fe 17-Oct-2023 SakiTakamachi

Fixed a bug in zend_memnistr with single character needle

Fixes GH-12457
Closes GH-12458


# 68aa7931 14-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add missing module dependency for xsl

This module cannot work without the DOM extension.

Closes GH-12441.


# b5c287e4 12-Oct-2023 SakiTakamachi

Fix GH-12423: Changed to prioritize DSN authentication information over arguments.

Added connection test

Close GH-12424


# 0cab8652 15-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix compile error when php_libxml.h is included in C++

See https://github.com/php/pecl-xml-xmldiff/issues/1


# 0217be4d 22-Sep-2023 Jakub Zelenka

Fix GH-12232: FPM: segfault dynamically loading extension without opcache

Also fixes incorrect assertion in ini init that php_dl is always
temporary.

Closes GH-12277


# d7de0cec 11-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix registerNodeClass with abstract class crashing

This always results in a segfault when trying to instantiate, so this never
worked. At least throw an error instead of segfaulting to p

Fix registerNodeClass with abstract class crashing

This always results in a segfault when trying to instantiate, so this never
worked. At least throw an error instead of segfaulting to prevent developers
from being confused.

Closes GH-12420.

show more ...


# 582b724c 13-Oct-2023 Tim Düsterhus

random: Fix γ-section implementation for Randomizer::getFloat() (#12402)

The reference implementation of the "Drawing Random Floating-Point Numbers from
an Interval" paper contains two m

random: Fix γ-section implementation for Randomizer::getFloat() (#12402)

The reference implementation of the "Drawing Random Floating-Point Numbers from
an Interval" paper contains two mistakes that will result in erroneous values
being returned under certain circumstances:

- For large values of `g` the multiplication of `k * g` might overflow to
infinity.
- The value of `ceilint()` might exceed 2^53, possibly leading to a rounding
error when promoting `k` to double within the multiplication of `k * g`.

This commit updates the implementation based on Prof. Goualard suggestions
after reaching out to him. It will correctly handle inputs larger than 2^-1020
in absolute values. This limitation will be documented and those inputs
possibly be rejected in a follow-up commit depending on performance concerns.

show more ...


# 7e4a3236 10-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12392: Segmentation fault on SoapClient::__getTypes

There are two issues:
- UAF because the hashmap resized while being iterated over, yet the local
variables used internall

Fix GH-12392: Segmentation fault on SoapClient::__getTypes

There are two issues:
- UAF because the hashmap resized while being iterated over, yet the local
variables used internally in the macros are not updated.
- The hashmap being iterated over is modified: entries are deleted after
other entries have been added. This causes the deletion to fail sometimes
because indices of buckets have shifted.

Fix it by using a while loop iteration and HashPosition position tracker
instead.
Issue exists on PHP 8.1 too, but is much harder to trigger.
The test file reproduces the issue reliably on PHP 8.2 and up.

Closes GH-12409.

show more ...


1...<<31323334353637383940>>...619