#
a50adda1 |
| 28-Jul-2024 |
Gina Peter Banyard |
ext/gmp: Make GMP class final (#15121) * ext/gmp: Make GMP class final RFC: https://wiki.php.net/rfc/gmp-final * Update UPGRADING Co-authored-by: Peter Kokot <pete
ext/gmp: Make GMP class final (#15121) * ext/gmp: Make GMP class final RFC: https://wiki.php.net/rfc/gmp-final * Update UPGRADING Co-authored-by: Peter Kokot <peterkokot@gmail.com> --------- Co-authored-by: Peter Kokot <peterkokot@gmail.com>
show more ...
|
#
ab449a7e |
| 24-Jul-2024 |
Christoph M. Becker |
Add missing cstddef include for C++ builds Closes GH-15096.
|
#
ad452086 |
| 20-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Add tidyNode::getNextSibling() and tidyNode::getPreviousSibling() These get the next and previous sibling nodes, respectively. We can already kind of do this by using the $child array, b
Add tidyNode::getNextSibling() and tidyNode::getPreviousSibling() These get the next and previous sibling nodes, respectively. We can already kind of do this by using the $child array, but that's inconvenient when actually walking the tree by only using node instances. Since the class is final, there is no BC break here. Closes GH-15047.
show more ...
|
#
da72ac11 |
| 24-Jul-2024 |
Christoph M. Becker |
Fix GH-15094: php_random_default_engine() is not C++ conforming Using compound literals is conforming to C99 (and up), but not with any C++ standard. Since the code is in a public heade
Fix GH-15094: php_random_default_engine() is not C++ conforming Using compound literals is conforming to C99 (and up), but not with any C++ standard. Since the code is in a public header, it might be used by C++ extensions. Unfortunately, we cannot even used designated initializers, because these are a C++20 feature, so we stick with classic C/C++ code. Closes GH-15100.
show more ...
|
#
5fbda730 |
| 24-Jul-2024 |
Christoph M. Becker |
Fix GH-15087 IntlChar::foldCase()'s $option is not optional Since that parameter is supposed to be optional (and has been prior to PHP 8.0.0), we fix the implementation instead of the st
Fix GH-15087 IntlChar::foldCase()'s $option is not optional Since that parameter is supposed to be optional (and has been prior to PHP 8.0.0), we fix the implementation instead of the stub. Closes GH-15091.
show more ...
|
#
00e45887 |
| 09-Jul-2024 |
Simonov Denis |
PDO_Firebird: Supported Firebird 4.0 datatypes (#14897) Five new data types are now available: INT128, DEC16, DEC34, TIMESTAMP_TZ, TIME_TZ. These are available starting with Firebird 4.0
PDO_Firebird: Supported Firebird 4.0 datatypes (#14897) Five new data types are now available: INT128, DEC16, DEC34, TIMESTAMP_TZ, TIME_TZ. These are available starting with Firebird 4.0. closes #14897
show more ...
|
#
ba909d7c |
| 22-Jul-2024 |
David Carlier |
Fix GH-14780: p(f)sockopen overflow on timeout argument. close GH-14785
|
#
40551dd7 |
| 22-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix uninitialized memory in network.c See https://github.com/php/php-src/issues/14806#issuecomment-2208150509 and https://github.com/php/php-src/issues/14806#issuecomment-2208690481
Fix uninitialized memory in network.c See https://github.com/php/php-src/issues/14806#issuecomment-2208150509 and https://github.com/php/php-src/issues/14806#issuecomment-2208690481 Closes GH-15068.
show more ...
|
#
21418b5b |
| 02-Jun-2024 |
David Carlier |
ext/intl: SpoofChecker::setAllowedChars support. To limit the acceptable range of acceptable unicode chars via individual ones or via a pattern.
|
#
b537f013 |
| 22-Jul-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
4377dff5 |
| 22-Jul-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
929536b6 |
| 03-Jul-2024 |
Arnaud Le Blanc |
Hint the opcache shm mapping location only when JIT is enabled Closes GH-14793 Fixes GH-13775
|
#
b8e9c5ba |
| 22-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bogus fallthrough path in firebird_handle_get_attribute() If getting the version fails, we should return -1 according to php_pdo_driver.h:259, not fall through to another attribute.
Fix bogus fallthrough path in firebird_handle_get_attribute() If getting the version fails, we should return -1 according to php_pdo_driver.h:259, not fall through to another attribute. Closes GH-15066.
show more ...
|
#
a18df90a |
| 22-Jul-2024 |
Bob Weinand |
Fix GH-13817: Segmentation fault for enabled observers after pass 4 Instead of fixing up temporaries count in between observer steps, just apply the additional temporary in the two affected
Fix GH-13817: Segmentation fault for enabled observers after pass 4 Instead of fixing up temporaries count in between observer steps, just apply the additional temporary in the two affected observer steps. Closes GH-14018.
show more ...
|
#
fdcfd62b |
| 22-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix passing non-finite timeout values in stream functions Closes GH-15061.
|
#
c0de7214 |
| 05-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14286 (ffi enum type (when enum has no name) make memory leak) For top-level anonymous type definition we never store the declaration anywhere else nor the type anywhere else.
Fix GH-14286 (ffi enum type (when enum has no name) make memory leak) For top-level anonymous type definition we never store the declaration anywhere else nor the type anywhere else. The declaration keeps owning the type and it goes out of scope. For anonymous fields this gets handled by the add_anonymous_field code that removes the type from the declaration. This patch does something similar in the parsing code when it is detected we're dealing with an anonymous enum in a top-level declaration. Closes GH-14839.
show more ...
|
#
82479e89 |
| 22-Jul-2024 |
Ilija Tovilo |
Throw error for recursive comparison, instead of fatal (#14989) I don't understand the rationale of fatal erroring here. It seems this should properly unprotect the compared elements whe
Throw error for recursive comparison, instead of fatal (#14989) I don't understand the rationale of fatal erroring here. It seems this should properly unprotect the compared elements when returning up the stack. Related to GH-14980
show more ...
|
#
d20d1137 |
| 22-Jul-2024 |
Peter Kokot |
Append -Wno-implicit-fallthrough flag conditionally (#13331) Older GCC versions (< 7.0) don't support the -Wno-implicit-fallthrough compiler flag. This adds the flag conditionally in cas
Append -Wno-implicit-fallthrough flag conditionally (#13331) Older GCC versions (< 7.0) don't support the -Wno-implicit-fallthrough compiler flag. This adds the flag conditionally in case some other compiler will run into same issue. Fixes GH-13330
show more ...
|
#
cfcc2a3f |
| 19-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15034: Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB We were using atoi, which is only for integers. When the size does not fit in
Fix GH-15034: Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB We were using atoi, which is only for integers. When the size does not fit in an integer this breaks. Use ZEND_STRTOUL instead. Also make sure invalid data isn't accidentally parsed into a file size. Closes GH-15035.
show more ...
|
#
186788f1 |
| 21-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix error handling in tidy constructor
|
#
f6940b92 |
| 21-Jul-2024 |
David Carlier |
[ci skip] NEWS update
|
#
9435f4d5 |
| 18-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Throw instead of silently failing when creating a too long text node Lower branches suffer from this as well but we cannot change the behaviour there. We also add NULL checks to chec
Throw instead of silently failing when creating a too long text node Lower branches suffer from this as well but we cannot change the behaviour there. We also add NULL checks to check for allocation failure. Closes GH-15014.
show more ...
|
#
8de7ccb2 |
| 20-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix memory leaks in ext/tidy basedir restriction code TIDY_APPLY_CONFIG can early return because it's a macro, but then the cleanup paths are not executed. Transform this to a real funct
Fix memory leaks in ext/tidy basedir restriction code TIDY_APPLY_CONFIG can early return because it's a macro, but then the cleanup paths are not executed. Transform this to a real function and handle the cleanups correctly at the callsites. Closes GH-15046.
show more ...
|
#
ba54cebb |
| 20-Jul-2024 |
David Carlier |
ext/pgsql: pg_convert/pg_insert/pg_update/pg_delete caching regexes. Close GH-15039
|
#
5996227f |
| 19-Jul-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15028: Memory leak in ext/phar/stream.c Closes GH-15029.
|