#
18233e0f |
| 31-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix memory leaks with string function name lookups There's a few leaks where the string is copied for lowercasing but not released. Where possible, use the _lc functionality of zend_hash
Fix memory leaks with string function name lookups There's a few leaks where the string is copied for lowercasing but not released. Where possible, use the _lc functionality of zend_hash to do the lookup to avoid the leaks that currently exist with the manual lowercasing. Closes GH-14390.
show more ...
|
#
e69bccd7 |
| 29-May-2024 |
David Carlier |
ext/pgsql: adding pg_socket_poll. Using PQSocketPoll to poll on a connection's socket. Returns immediatly is there no event expected on read and write. Other than that, it is a thin
ext/pgsql: adding pg_socket_poll. Using PQSocketPoll to poll on a connection's socket. Returns immediatly is there no event expected on read and write. Other than that, it is a thin wrapper on top of poll, thus reflecting its return value. close GH-14366
show more ...
|
#
e4a8d5b1 |
| 31-May-2024 |
Joshua Rüsweg |
RFC: array_find (#14108) see https://wiki.php.net/rfc/array_find
|
#
89c4db9c |
| 30-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix reading zlib ini settings in ext-soap zend_ini_long() actually expects the length without the NUL byte, but we're passing the length *with* the NUL byte. This mess can actually be
Fix reading zlib ini settings in ext-soap zend_ini_long() actually expects the length without the NUL byte, but we're passing the length *with* the NUL byte. This mess can actually be avoided altogether by using INI_INT, so use that instead. Closes GH-14382.
show more ...
|
#
23912f55 |
| 30-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix memory leak if calling SoapServer::setClass() twice Closes GH-14381.
|
#
51bb9c2c |
| 30-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix memory leak if calling SoapServer::setObject() twice Closes GH-14380.
|
#
6aa66e08 |
| 31-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix missing error restore code in ext-soap (#14379) The begin and end macros should be paired, but some of the end macro calls were missing.
|
#
709869c8 |
| 30-May-2024 |
Gina Peter Banyard |
ext/bcmath: Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0)
|
#
c7797fc8 |
| 29-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bug GH-11941: soap with session persistence will silently fails when "seession" built as a shared object (#14362) This adds an optional dependency on the session extension and adds the
Fix bug GH-11941: soap with session persistence will silently fails when "seession" built as a shared object (#14362) This adds an optional dependency on the session extension and adds the necessary APIs to make the functionality work with lazy binding. This can be tested by configuring PHP with `--enable-session=shared` and `--enable-soap=shared` and running the test suite, in particular the buggy behaviour can be observed by the existing test `server009.phpt`.
show more ...
|
#
8a872062 |
| 29-May-2024 |
Tim Düsterhus |
reflection: Add `ReflectionGenerator::isClosed()` (#14358) * reflection: Add `ReflectionGenerator::isClosed()` see https://github.com/php/php-src/pull/14167#issuecomment-2133641998
reflection: Add `ReflectionGenerator::isClosed()` (#14358) * reflection: Add `ReflectionGenerator::isClosed()` see https://github.com/php/php-src/pull/14167#issuecomment-2133641998 * Fix test expectation * Drop `{{{` / `}}}` comments around `ReflectionGenerator::isClosed()`
show more ...
|
#
88ff32a2 |
| 29-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14343: Memory leak in xml and dom (#14347) If there is no root, the namespace cannot be attached to it, so we have to attach it to the old list. This isn't a problem in "
Fix GH-14343: Memory leak in xml and dom (#14347) If there is no root, the namespace cannot be attached to it, so we have to attach it to the old list. This isn't a problem in "new DOM" because namespaces are managed in a separate structure there.
show more ...
|
#
162a311c |
| 25-May-2024 |
David Carlier |
ext/pgsql: adding pg_put_copy_data/pg_put_copy_end. pg_put_copy_data allows to send COPY commands to the server. pg_put_copy_end signals the end of the n commands. Both return 3
ext/pgsql: adding pg_put_copy_data/pg_put_copy_end. pg_put_copy_data allows to send COPY commands to the server. pg_put_copy_end signals the end of the n commands. Both return 3 states ; 1, 0 and -1 when 1 is success, 0 the buffer queue is full then -1 for errors. Close GH-14325
show more ...
|
#
79862f24 |
| 28-May-2024 |
Arnaud Le Blanc |
Fix TLS access in JIT on FreeBSD/amd64 DTV elements are 8 bytes in size a per ABI [1], and the index is offset by 1 on FreeBSD [2] [1] http://people.redhat.com/drepper/tls.pdf
Fix TLS access in JIT on FreeBSD/amd64 DTV elements are 8 bytes in size a per ABI [1], and the index is offset by 1 on FreeBSD [2] [1] http://people.redhat.com/drepper/tls.pdf [2] https://github.com/freebsd/freebsd-src/blob/bf56e8b9c8639ac4447d223b83cdc128107cc3cd/libexec/rtld-elf/rtld.c#L5260 Closes GH-13928
show more ...
|
#
272da51b |
| 01-Mar-2024 |
Manuel Kress <6232639+windaishi@users.noreply.github.com> |
Use ITIMER_REAL for timeout handling on MacOS / Apple Silicon system setitimer(ITIMER_PROF) fires too early on MacOS 14 when running on Apple Silicon. See https://openradar.appspot.com/r
Use ITIMER_REAL for timeout handling on MacOS / Apple Silicon system setitimer(ITIMER_PROF) fires too early on MacOS 14 when running on Apple Silicon. See https://openradar.appspot.com/radar?id=5583058442911744. Fixes GH-12814 Closes GH-13567
show more ...
|
#
35e62e9b |
| 25-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bug #47925: PHPClient can't decompress response (transposed uncompress methods?) The incorrect functions are being called to deal with incoming compressed data. gzip/x-gzip corre
Fix bug #47925: PHPClient can't decompress response (transposed uncompress methods?) The incorrect functions are being called to deal with incoming compressed data. gzip/x-gzip corresponds to gzuncompress(), while deflate corresponds to gzinflate(). The existing code for gzip compression also plays with removing the first 10 bytes (i.e. the gzip header) to pass it to the inflate implementation but that doesn't always work properly due to trailer data. Get rid of that entirely by using the correct functions. Closes GH-14321.
show more ...
|
#
5f2a0c83 |
| 26-Apr-2024 |
Manuel Mausz |
Add support for Curve25519 + Curve448 based keys For openssl_pkey_get_details we export the priv+pub parameters. ED25519/ED448 do not support streaming, so we need to use EVP_Di
Add support for Curve25519 + Curve448 based keys For openssl_pkey_get_details we export the priv+pub parameters. ED25519/ED448 do not support streaming, so we need to use EVP_Digest{Sign,Verify} instead. In general the older EVP_{Sign,Verify} interface should be avoided as the key is passed very late. See BUGS section in OpenSSL manpages of EVP_{Sign,Verify}Final Additionally per requirement we need to allow sign/verify without digest. So we need to allow passing 0 as digest. In OpenSSL 3.0+ this also corresponds to the default digest (see EVP_PKEY_get_default_digest_name). For CSR creation we need to allow "null" as digest_alg option. Closes GH-14052
show more ...
|
#
9e226b28 |
| 24-May-2024 |
Peter Kokot |
Fix incompatible pointer type warnings This fixes the incompatible pointer type warnings when checking for reentrant functions declaractions (-Wincompatible-pointer-types) in config.
Fix incompatible pointer type warnings This fixes the incompatible pointer type warnings when checking for reentrant functions declaractions (-Wincompatible-pointer-types) in config.log. These were not declared on some obsolete systems if _REENTRANT was not defined. The check is for now left in the code base but can be transitioned to newer code without checking for missing declarations or using these otherwise in the future. Closes GH-14315.
show more ...
|
#
a2c5b4ec |
| 23-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14307: Test curl_basic_024 fails with curl 8.8.0 Curl changed the behaviour, from the changelog: - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c
Fix GH-14307: Test curl_basic_024 fails with curl 8.8.0 Curl changed the behaviour, from the changelog: - lib: make protocol handlers store scheme name lowercase curl/curl@c294f9c From the docs: "The returned scheme might be upper or lowercase. Do comparisons case insensitively." Closes GH-14312.
show more ...
|
#
c8ef40af |
| 23-May-2024 |
Tim Düsterhus |
[ci skip] Add missing trailing dots in NEWS These are required for the NEWS parser to correctly strip the author name.
|
#
4da46107 |
| 23-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix memory leaks in ext/sodium on failure of some functions Infallible in practice right now, but should be fixed as infallible today does not mean infallible tomorrow: - sodium_crypto_s
Fix memory leaks in ext/sodium on failure of some functions Infallible in practice right now, but should be fixed as infallible today does not mean infallible tomorrow: - sodium_crypto_sign_publickey_from_secretkey - sodium_crypto_kx_seed_keypair - sodium_crypto_kx_keypair - sodium_crypto_auth - sodium_crypto_sign_ed25519_sk_to_curve25519 - sodium_pad Fallible today: - sodium_crypto_sign_ed25519_pk_to_curve25519 Closes GH-14309.
show more ...
|
#
fe7f699c |
| 18-May-2024 |
David Carlier |
ext/pcntl: adding SIGTRAP handling for freebsd. if a restricted file descriptor based syscall by the system had been attempted, a SIGTRAP is raised with the syscall id. close GH
ext/pcntl: adding SIGTRAP handling for freebsd. if a restricted file descriptor based syscall by the system had been attempted, a SIGTRAP is raised with the syscall id. close GH-14266
show more ...
|
#
69e2ef69 |
| 22-May-2024 |
Ilija Tovilo |
[skip ci] Add news entry
|
#
9506ca60 |
| 22-May-2024 |
Ilija Tovilo |
Fix enabling of JIT at runtime Fixes GH-14267 Closes GH-14294
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1 |
|
#
c265b908 |
| 11-Mar-2021 |
Guillaume Outters |
ext/pdo_pgsql: adding pgsqlSetNoticeCallback Allows a callback to be triggered on every notice sent by PostgreSQL. Such notices can be sent with a RAISE NOTICE in PL/pgSQL; in a lon
ext/pdo_pgsql: adding pgsqlSetNoticeCallback Allows a callback to be triggered on every notice sent by PostgreSQL. Such notices can be sent with a RAISE NOTICE in PL/pgSQL; in a long running stored procedure, they prove useful as realtime checkpoint indicators. close GH-6764
show more ...
|
#
b3a56bd5 |
| 21-May-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-14290: Member access within null pointer in extension spl php_pcre_replace_impl() can fail and return NULL. We should take that error condition into account. Because other failure
Fix GH-14290: Member access within null pointer in extension spl php_pcre_replace_impl() can fail and return NULL. We should take that error condition into account. Because other failures return false, we return false here as well. At first, I also thought there was a potential memory leak in the error check of replacement_str, but found that the error condition can never trigger, so replace that with an assertion. Closes GH-14292.
show more ...
|