b5f8a727 | 31-Jul-2023 |
Dmitry Stogov |
Fixed incorrect QM_ASSIGN elimination Fixes OSS Fuzz #60895 |
6b6a5cd2 | 26-Jul-2023 |
Ilija Tovilo |
Replace xfail with skipif in calendar_clear_variation1.phpt Fixes GH-11128 Closes GH-11801 |
bed0e541 | 26-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix DOM test |
bf4e7bd3 | 25-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11791: Wrong default value of DOMDocument::xmlStandalone At one point this was changed from a bool to an int in libxml2, with negative values meaning it is unspecified. Because it
Fix GH-11791: Wrong default value of DOMDocument::xmlStandalone At one point this was changed from a bool to an int in libxml2, with negative values meaning it is unspecified. Because it is cast to a bool this therefore returned true instead of the expected false. Closes GH-11793.
show more ...
|
abb1d2e8 | 22-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix empty argument cases for DOMParentNode methods Closes GH-11768. |
1cf2d216 | 22-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix DOMCharacterData::replaceWith() with itself Previously, when replacing the node with itself (or contained within itself), the node disappeared. Closes GH-11770. |
168bc814 | 23-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS() Closes GH-11776. |
d439ee18 | 23-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix DOMEntity field getter bugs - publicId could crash PHP if none was provided - notationName never worked The fields of this classs were untested. This new test file changes t
Fix DOMEntity field getter bugs - publicId could crash PHP if none was provided - notationName never worked The fields of this classs were untested. This new test file changes that. Closes GH-11779.
show more ...
|
9fc0eab4 | 24-Jul-2023 |
Dmitry Stogov |
Fixed incorrect QM_ASSIGN elimination Fixes OSS Fuzz #60735 |
af77d3b8 | 21-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11716: cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1 Closes GH-11757. |
429f20e9 | 16-Jul-2023 |
Marc Bennewitz |
Prevent int overflow on $decimals in number_format Closes GH-11714. Closes GH-11649. |
ee3f9323 | 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong There are a couple of oddities. 1) The interned strings buffer compri
Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong There are a couple of oddities. 1) The interned strings buffer comprises the whole hashtable datastructure. Therefore, it seems that the interned strings buffer size is the size of only said table. However, in the current code it also includes the size of the zend_accel_shared_globals. 2) ZCSG(interned_strings).end is computed starting from the accelerator globals struct itself. I would expect it to start from the part where the interned strings table starts. 3) When computing the used size, it is done using ZCSG(interned_strings).end - ZCSG(interned_strings).start. However, this does not include the uin32_t slots array because ZCSG(interned_strings).start pointers after that array. This patch corrrects these 3 points. Closes GH-11717.
show more ...
|
11d6bea9 | 20-Jul-2023 |
Ilija Tovilo |
Fix leaking definitions on FFI::cdef()->new() Previously, FFI_G(symbols) and FFI_G(tags) were never cleaned up when calling new on an existing object. However, if cdef() is called withou
Fix leaking definitions on FFI::cdef()->new() Previously, FFI_G(symbols) and FFI_G(tags) were never cleaned up when calling new on an existing object. However, if cdef() is called without parameters these globals are NULL and might be created when new() creates new definitions. These would then be discarded without freeing them. Closes GH-11751
show more ...
|
6e3c520f | 18-Jul-2023 |
Ben Ramsey |
PHP-8.1 is now for PHP-8.1.23-dev |
7cae6eb8 | 17-Jul-2023 |
Ilija Tovilo |
Fix hash_pbkdf2 options parameter The value needs to be initialized to NULL as it is optional. Furthermore, the parameter was completely missing in the stub signature. Closes GH
Fix hash_pbkdf2 options parameter The value needs to be initialized to NULL as it is optional. Furthermore, the parameter was completely missing in the stub signature. Closes GH-11731
show more ...
|
b0bc057e | 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Prevent potential deadlock if accelerated globals cannot be allocated Not sure if this is possible to hit in practice, zend_accel_error_noreturn doesn't return so the unlock isn't called
Prevent potential deadlock if accelerated globals cannot be allocated Not sure if this is possible to hit in practice, zend_accel_error_noreturn doesn't return so the unlock isn't called. Other callsites that use both zend_accel_error_noreturn and zend_shared_alloc_unlock first perform the unlocking. Closes GH-11718.
show more ...
|
e0aadc1c | 07-Jul-2023 |
SakiTakamachi |
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled This also includes a fix for the MySQL ND driver to actually respect the user
Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled This also includes a fix for the MySQL ND driver to actually respect the user decided behaviour. Closes GH-11622 Signed-off-by: George Peter Banyard <girgias@php.net>
show more ...
|
5c26258e | 13-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Handle fragments consisting out of multiple children without a single root correctly Closes GH-11698. |
69b4360e | 09-Jul-2023 |
David Carlier |
zend_gdb disable gdb detection for FreeBSD < 11. ref PR: https://github.com/php/php-src/pull/11599. Close GH-11646 |
536dbd74 | 10-Jul-2023 |
George Peter Banyard |
ext/intl: Fix memory leak in MessageFormatter::format() Closes GH-11658 |
b1b7c61a | 12-Jul-2023 |
Ilija Tovilo |
Always memoize assert Closes GH-11686 |
48b246e0 | 11-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Add regression test for GH-11682 This bug was already fixed via 15ff830, but we really need more test coverage. Co-authored-by: Arne Blankerts <arne@blankerts.de> |
bc421791 | 11-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10914: OPCache with Enum and Callback functions results in segmentation fault See linked issue for analysis. Closes GH-11675. |
6b87e08b | 10-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix tests for stat rdev If HAVE_STRUCT_STAT_ST_RDEV is not set, rdev will be -1. %d only matches a natural number, we should let it match negative numbers too. |
41a3573f | 05-Jul-2023 |
Peter Kokot |
Fix GH-9483: Autoconf warnings for newer Autoconf versions Co-authored-by: Levi Morrison <morrison.levi@gmail.com> |