2015-07-21 22:36:36 +08:00
|
|
|
|
PHP NEWS
|
1999-07-23 07:54:54 +08:00
|
|
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
2024-04-23 22:22:54 +08:00
|
|
|
|
?? ??? ????, PHP 8.2.20
|
|
|
|
|
|
2024-04-21 03:03:48 +08:00
|
|
|
|
- CGI:
|
|
|
|
|
. Fixed buffer limit on Windows, replacing read call usage by _read.
|
|
|
|
|
(David Carlier)
|
|
|
|
|
|
2024-05-10 21:53:04 +08:00
|
|
|
|
- CLI:
|
|
|
|
|
. Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles
|
|
|
|
|
quoted heredoc literals.). (nielsdos)
|
|
|
|
|
|
2024-05-02 00:32:07 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for
|
|
|
|
|
non-compile-time expressions). (ilutov)
|
|
|
|
|
|
2024-05-01 02:29:37 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fix crashes when entity declaration is removed while still having entity
|
|
|
|
|
references. (nielsdos)
|
2024-05-01 02:50:30 +08:00
|
|
|
|
. Fix references not handled correctly in C14N. (nielsdos)
|
2024-05-01 03:09:29 +08:00
|
|
|
|
. Fix crash when calling childNodes next() when iterator is exhausted.
|
|
|
|
|
(nielsdos)
|
2024-05-12 01:44:02 +08:00
|
|
|
|
. Fix crash in ParentNode::append() when dealing with a fragment
|
|
|
|
|
containing text nodes. (nielsdos)
|
2024-04-23 22:22:54 +08:00
|
|
|
|
|
2024-05-14 02:28:59 +08:00
|
|
|
|
- FFI:
|
|
|
|
|
. Fixed bug GH-14215 (Cannot use FFI::load on CRLF header file with
|
|
|
|
|
apache2handler). (nielsdos)
|
|
|
|
|
|
2024-05-08 18:33:52 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fix bug GH-14175 (Show decimal number instead of scientific notation in
|
|
|
|
|
systemd status). (Benjamin Cremer)
|
|
|
|
|
|
2024-05-10 08:37:13 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
|
|
|
|
|
(Saki Takamachi)
|
|
|
|
|
|
2024-05-11 02:33:19 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed build regression on systems without C++17 compilers. (Calvin Buckley,
|
|
|
|
|
Peter Kokot)
|
|
|
|
|
|
2024-05-05 09:05:49 +08:00
|
|
|
|
- Ini:
|
|
|
|
|
. Fixed bug GH-14100 (Corrected spelling mistake in php.ini files).
|
|
|
|
|
(Marcus Xavier)
|
|
|
|
|
|
2024-05-03 03:11:29 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-14109 (Fix accidental persisting of internal class constant in
|
|
|
|
|
shm). (ilutov)
|
|
|
|
|
|
2024-05-04 19:57:50 +08:00
|
|
|
|
- XML:
|
|
|
|
|
. Fixed bug GH-14124 (Segmentation fault with XML extension under certain
|
|
|
|
|
memory limit). (nielsdos)
|
|
|
|
|
|
2024-05-10 21:17:29 +08:00
|
|
|
|
- XMLReader:
|
|
|
|
|
. Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)
|
|
|
|
|
|
2024-04-23 22:22:54 +08:00
|
|
|
|
09 May 2024, PHP 8.2.19
|
2024-03-26 20:49:44 +08:00
|
|
|
|
|
2024-03-21 22:09:20 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-13772 (Invalid execute_data->opline pointers in observer fcall
|
|
|
|
|
handlers when JIT is enabled). (Bob)
|
2024-04-11 02:26:16 +08:00
|
|
|
|
. Fixed bug GH-13931 (Applying zero offset to null pointer in
|
|
|
|
|
Zend/zend_opcode.c). (nielsdos)
|
2024-04-16 20:18:48 +08:00
|
|
|
|
. Fixed bug GH-13942 (Align the behavior of zend-max-execution-timers with
|
|
|
|
|
other timeout implementations). (Kévin Dunglas)
|
2024-04-19 21:19:02 +08:00
|
|
|
|
. Fixed bug GH-14003 (Broken cleanup of unfinished calls with callable convert
|
|
|
|
|
parameters). (ilutov)
|
2024-04-21 23:23:22 +08:00
|
|
|
|
. Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Kokot)
|
2024-02-16 23:23:12 +08:00
|
|
|
|
. Fixed bug GH-10232 (If autoloading occurs during constant resolution
|
|
|
|
|
filename and lineno are identified incorrectly). (ranvis)
|
2024-04-23 03:21:40 +08:00
|
|
|
|
. Fixed bug GH-13727 (Missing void keyword). (Peter Kokot)
|
2024-03-21 22:09:20 +08:00
|
|
|
|
|
2024-04-09 02:09:24 +08:00
|
|
|
|
- Fibers:
|
|
|
|
|
. Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2024-03-30 00:05:13 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-13563 (Setting bool values via env in FPM config fails).
|
|
|
|
|
(Jakub Zelenka)
|
2024-03-26 20:49:44 +08:00
|
|
|
|
|
2024-02-18 05:38:21 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed build for icu 74 and onwards. (dunglas)
|
|
|
|
|
|
2024-04-05 01:29:04 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fix shift out of bounds on 32-bit non-fast-path platforms. (nielsdos)
|
|
|
|
|
|
2024-04-17 20:09:08 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed incorrect assumptions across compilation units for static calls.
|
|
|
|
|
(ilutov)
|
|
|
|
|
|
2023-12-22 04:12:02 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug GH-10495 (feof on OpenSSL stream hangs indefinitely).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
2024-04-18 07:35:50 +08:00
|
|
|
|
- PDO SQLite:
|
|
|
|
|
. Fix GH-13984 (Buffer size is now checked before memcmp). (Saki Takamachi)
|
2024-04-20 21:33:25 +08:00
|
|
|
|
. Fix GH-13998 (Manage refcount of agg_context->val correctly).
|
|
|
|
|
(Saki Takamachi)
|
2024-04-18 07:35:50 +08:00
|
|
|
|
|
2024-03-30 18:53:01 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fixed bug GH-13836 (Renaming a file in a Phar to an already existing
|
|
|
|
|
filename causes a NULL pointer dereference). (nielsdos)
|
2024-03-31 08:17:49 +08:00
|
|
|
|
. Fixed bug GH-13833 (Applying zero offset to null pointer in zend_hash.c).
|
|
|
|
|
(nielsdos)
|
2024-04-08 14:49:17 +08:00
|
|
|
|
. Fix potential NULL pointer dereference before calling EVP_SignInit. (icy17)
|
2024-03-30 18:53:01 +08:00
|
|
|
|
|
2024-03-29 07:38:15 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fixed bug GH-13827 (Null pointer access of type 'zval' in phpdbg_frame).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2024-04-11 19:29:29 +08:00
|
|
|
|
- Posix:
|
|
|
|
|
. Fix usage of reentrant functions in ext/posix. (Arnaud)
|
|
|
|
|
|
2024-04-01 19:39:38 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed bug GH-13856 (Member access within null pointer of type 'ps_files' in
|
|
|
|
|
ext/session/mod_files.c). (nielsdos)
|
2024-04-06 19:44:34 +08:00
|
|
|
|
. Fixed bug GH-13891 (memleak and segfault when using ini_set with
|
2024-04-08 21:01:15 +08:00
|
|
|
|
session.trans_sid_hosts). (nielsdos, kamil-tekiela)
|
2024-04-20 22:40:01 +08:00
|
|
|
|
. Fixed buffer _read/_write size limit on windows for the file mode. (David Carlier)
|
2024-04-01 19:39:38 +08:00
|
|
|
|
|
2024-04-14 21:32:10 +08:00
|
|
|
|
- Streams:
|
2024-04-12 21:17:45 +08:00
|
|
|
|
. Fixed file_get_contents() on Windows fails with "errno=22 Invalid
|
|
|
|
|
argument". (Damian Wójcik)
|
2024-03-23 21:09:46 +08:00
|
|
|
|
. Fixed bug GH-13264 (Part 1 - Memory leak on stream filter failure).
|
|
|
|
|
(Jakub Zelenka)
|
2024-04-06 05:21:32 +08:00
|
|
|
|
. Fixed bug GH-13860 (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in
|
|
|
|
|
ext/openssl/xp_ssl.c - causing use of dead socket). (nielsdos)
|
2024-04-08 21:01:15 +08:00
|
|
|
|
. Fixed bug GH-11678 (Build fails on musl 1.2.4 - lfs64). (Arnaud)
|
2024-03-23 21:09:46 +08:00
|
|
|
|
|
2024-03-27 22:49:18 +08:00
|
|
|
|
- Treewide:
|
|
|
|
|
. Fix gcc-14 Wcalloc-transposed-args warnings. (Cristian Rodríguez)
|
|
|
|
|
|
2024-03-26 20:49:44 +08:00
|
|
|
|
11 Apr 2024, PHP 8.2.18
|
2024-02-27 22:26:44 +08:00
|
|
|
|
|
2024-03-07 06:14:47 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-13612 (Corrupted memory in destructor with weak references).
|
|
|
|
|
(nielsdos)
|
2024-03-22 18:39:17 +08:00
|
|
|
|
. Fixed bug GH-13784 (AX_GCC_FUNC_ATTRIBUTE failure). (Remi)
|
2024-03-25 23:19:32 +08:00
|
|
|
|
. Fixed bug GH-13670 (GC does not scale well with a lot of objects created in
|
|
|
|
|
destructor). (Arnaud)
|
2024-03-07 06:14:47 +08:00
|
|
|
|
|
2024-03-09 21:58:57 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Add some missing ZPP checks. (nielsdos)
|
2024-03-15 04:08:25 +08:00
|
|
|
|
. Fix potential memory leak in XPath evaluation results. (nielsdos)
|
2024-03-20 04:20:38 +08:00
|
|
|
|
. Fix phpdoc for DOMDocument load methods. (VincentLanglet)
|
2024-03-09 21:58:57 +08:00
|
|
|
|
|
2024-03-24 20:58:09 +08:00
|
|
|
|
- FPM
|
2024-03-22 21:08:00 +08:00
|
|
|
|
. Fixed incorrect check in fpm_shm_free(). (nielsdos)
|
2024-03-24 20:58:09 +08:00
|
|
|
|
|
2024-03-16 00:52:29 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
|
|
|
|
|
|
2024-02-29 06:43:04 +08:00
|
|
|
|
- Gettext:
|
2024-03-09 01:26:36 +08:00
|
|
|
|
. Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
|
2024-02-29 06:43:04 +08:00
|
|
|
|
with category set to LC_ALL. (David Carlier)
|
|
|
|
|
|
2024-03-04 20:51:02 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fix GH-13452 (Fixed handshake response [mysqlnd]). (Saki Takamachi)
|
2024-03-22 07:36:22 +08:00
|
|
|
|
. Fix incorrect charset length in check_mb_eucjpms(). (nielsdos)
|
2024-03-04 20:51:02 +08:00
|
|
|
|
|
2024-03-11 22:13:03 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed GH-13508 (JITed QM_ASSIGN may be optimized out when op1 is null).
|
|
|
|
|
(Arnaud, Dmitry)
|
2024-03-19 02:02:42 +08:00
|
|
|
|
. Fixed GH-13712 (Segmentation fault for enabled observers when calling trait
|
|
|
|
|
method of internal trait when opcache is loaded). (Bob)
|
2024-03-11 22:13:03 +08:00
|
|
|
|
|
2024-02-27 23:25:00 +08:00
|
|
|
|
- PDO:
|
|
|
|
|
. Fix various PDORow bugs. (Girgias)
|
|
|
|
|
|
2024-03-01 01:21:03 +08:00
|
|
|
|
- Random:
|
2024-03-11 22:13:03 +08:00
|
|
|
|
. Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown
|
|
|
|
|
modes). (timwolla)
|
2024-03-14 03:13:48 +08:00
|
|
|
|
. Fixed bug GH-13690 (Global Mt19937 is not properly reset in-between
|
|
|
|
|
requests when MT_RAND_PHP is used). (timwolla)
|
2024-03-01 01:21:03 +08:00
|
|
|
|
|
2024-03-13 04:10:53 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed bug GH-13680 (Segfault with session_decode and compilation error).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2024-03-06 16:43:42 +08:00
|
|
|
|
- Sockets:
|
2024-03-11 22:13:03 +08:00
|
|
|
|
. Fixed bug GH-13604 (socket_getsockname returns random characters in the end
|
|
|
|
|
of the socket name). (David Carlier)
|
2024-03-06 16:43:42 +08:00
|
|
|
|
|
2024-02-28 05:09:06 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-13531 (Unable to resize SplfixedArray after being unserialized
|
|
|
|
|
in PHP 8.2.15). (nielsdos)
|
2024-03-13 04:38:15 +08:00
|
|
|
|
. Fixed bug GH-13685 (Unexpected null pointer in zend_string.h). (nielsdos)
|
2024-02-28 05:09:06 +08:00
|
|
|
|
|
2024-03-02 00:44:14 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fixed bug GH-11808 (Live filesystem modified by tests). (nielsdos)
|
2024-03-04 20:50:37 +08:00
|
|
|
|
. Fixed GH-13402 (Added validation of `\n` in $additional_headers of mail()).
|
2024-03-04 20:30:07 +08:00
|
|
|
|
(SakiTakamachi)
|
2024-01-21 02:38:49 +08:00
|
|
|
|
. Fixed bug GH-13203 (file_put_contents fail on strings over 4GB on Windows).
|
|
|
|
|
(divinity76)
|
2024-04-10 12:41:29 +08:00
|
|
|
|
. Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command
|
|
|
|
|
parameter of proc_open). (CVE-2024-1874) (Jakub Zelenka)
|
|
|
|
|
. Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to
|
|
|
|
|
partial CVE-2022-31629 fix). (CVE-2024-2756) (nielsdos)
|
|
|
|
|
. Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true,
|
|
|
|
|
opening ATO risk). (CVE-2024-3096) (Jakub Zelenka)
|
2024-03-02 00:44:14 +08:00
|
|
|
|
|
2024-02-27 03:34:27 +08:00
|
|
|
|
- XML:
|
|
|
|
|
. Fixed bug GH-13517 (Multiple test failures when building with
|
|
|
|
|
--with-expat). (nielsdos)
|
2024-02-27 22:26:44 +08:00
|
|
|
|
|
|
|
|
|
14 Mar 2024, PHP 8.2.17
|
2024-01-31 01:43:37 +08:00
|
|
|
|
|
2024-02-14 04:55:24 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fix ZTS persistent resource crashes on shutdown. (nielsdos)
|
|
|
|
|
|
2024-02-01 03:03:55 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
|
2024-01-31 01:43:37 +08:00
|
|
|
|
|
2024-02-26 05:59:20 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fix reference access in dimensions for DOMNodeList and DOMNodeMap.
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2024-02-11 08:02:57 +08:00
|
|
|
|
- Fileinfo:
|
|
|
|
|
. Fixed bug GH-13344 (finfo::buffer(): Failed identify data 0:(null),
|
|
|
|
|
backport). (nielsdos)
|
|
|
|
|
|
2024-01-19 22:41:46 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
Fix detection of image formats in system gd library
- Use gdFontCacheShutdown() to detect freetype
Currently we look for gdImageStringFT() to determine whether or not gd
has freetype support... but that function always exists. This leads
PHP to believe that gd has freetype support when it does not, and can
lead to build failures.
The gdFontCacheShutdown() function, on the other hand, is only present
when gd was built with freetype support. Let's use that instead.
- Fix GD image format detection
We currently check for, say, AVIF support by attempting to link a
program that calls libgd's gdImageCreateFromAvif() function. But
perversely, that function always exists in libgd; moreover when AVIF
support is missing it emits a warning and returns normally. Thus
our straightforward link test becomes not so straightforward.
This commit adds a new macro PHP_GD_CHECK_FORMAT that compiles, links,
and runs a test program instead. The test program overrides that "emit
a warning" handler so that the program actually fails if the format
we're looking for is not supported. This fixes detection of AVIF and
the other formats we check for in an external libgd.
- ext/gd/tests/bug77391.phpt: skip if gd lacks BMP support
I don't actually know how to remove BMP support from libgd, but PHP
has a ./configure test for it, so we should probably treat it as
optional.
Closes GH-12019
2024-02-26 20:59:21 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed bug GH-12019 (detection of image formats in system gd library).
|
|
|
|
|
(Michael Orlitzky)
|
|
|
|
|
|
2024-02-10 09:26:52 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-11950 ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error
|
|
|
|
|
if CR_SERVER_GONE_ERROR is already set). (Saki Takamachi)
|
|
|
|
|
|
2024-02-09 02:16:57 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed bug GH-13354 (pg_execute/pg_send_query_params/pg_send_execute
|
|
|
|
|
with null value passed by reference). (George Barbarosie)
|
|
|
|
|
|
2024-02-05 00:17:36 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fixed array key as hash to string (case insensitive) comparison typo
|
|
|
|
|
for the second operand buffer size (albeit unused for now). (A. Slepykh)
|
|
|
|
|
|
2024-01-31 01:43:37 +08:00
|
|
|
|
15 Feb 2024, PHP 8.2.16
|
2024-01-02 21:42:14 +08:00
|
|
|
|
|
2024-01-06 02:45:18 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed timer leak in zend-max-execution-timers builds. (withinboredom)
|
2024-01-10 16:06:41 +08:00
|
|
|
|
. Fixed bug GH-12349 (linking failure on ARM with mold). (Jan Palus)
|
2024-01-16 03:21:30 +08:00
|
|
|
|
. Fixed bug GH-13097 (Anonymous class reference in trigger_error / thrown
|
|
|
|
|
Exception). (nielsdos)
|
2024-01-22 17:59:00 +08:00
|
|
|
|
. Fixed bug GH-13215 (GCC 14 build failure). (Remi)
|
2024-01-06 02:45:18 +08:00
|
|
|
|
|
2024-01-16 05:11:47 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Fix missing error check in curl_multi_init(). (divinity76)
|
|
|
|
|
|
2024-01-04 22:51:20 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-12996 (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when
|
|
|
|
|
plus in path). (Jakub Zelenka)
|
|
|
|
|
|
2024-01-25 05:12:49 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed bug GH-10344 (imagettfbbox(): Could not find/open font UNC path).
|
|
|
|
|
(nielsdos)
|
2024-01-26 06:30:23 +08:00
|
|
|
|
. Fixed bug GH-10614 (imagerotate will turn the picture all black, when
|
|
|
|
|
rotated 90). (nielsdos)
|
2024-01-25 05:12:49 +08:00
|
|
|
|
|
2023-11-24 21:47:34 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-12107 (When running a stored procedure (that returns a result
|
|
|
|
|
set) twice, PHP crashes). (nielsdos)
|
|
|
|
|
|
2024-01-24 02:59:40 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-13232 (Segmentation fault will be reported when JIT is off but
|
|
|
|
|
JIT_debug is still on). (nielsdos)
|
|
|
|
|
|
2023-12-10 11:37:13 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set.
|
|
|
|
|
(David Carlier).
|
|
|
|
|
|
2024-01-13 23:30:21 +08:00
|
|
|
|
- PDO_Firebird:
|
2024-04-10 09:00:14 +08:00
|
|
|
|
. Fix GH-13119 (Changed to convert float and double values into strings using
|
2024-01-13 23:30:21 +08:00
|
|
|
|
`H` format). (SakiTakamachi)
|
|
|
|
|
|
2024-01-04 03:23:56 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fixed bug #71465 (PHAR doesn't know about litespeed). (nielsdos)
|
2023-12-29 05:41:32 +08:00
|
|
|
|
. Fixed bug GH-13037 (PharData incorrectly extracts zip file). (nielsdos)
|
2024-01-02 21:42:14 +08:00
|
|
|
|
|
2024-01-14 20:01:29 +08:00
|
|
|
|
- Random:
|
|
|
|
|
. Fixed bug GH-13138 (Randomizer::pickArrayKeys() does not detect broken
|
|
|
|
|
engines). (timwolla)
|
|
|
|
|
|
2024-01-21 06:04:33 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed bug GH-12504 (Corrupted session written when there's a fatal error
|
|
|
|
|
in autoloader). (nielsdos)
|
|
|
|
|
|
2024-01-13 07:28:57 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug GH-13071 (Copying large files using mmap-able source streams may
|
|
|
|
|
exhaust available memory and fail). (nielsdos)
|
|
|
|
|
|
2024-01-02 21:42:14 +08:00
|
|
|
|
18 Jan 2024, PHP 8.2.15
|
2023-12-06 04:01:08 +08:00
|
|
|
|
|
2023-12-15 03:32:12 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-12953 (false positive SSA integrity verification failed when
|
|
|
|
|
loading composer classmaps with more than 11k elements). (nielsdos)
|
2023-12-22 23:12:59 +08:00
|
|
|
|
. Fixed bug GH-12966 (missing cross-compiling 3rd argument so Autoconf doesn't
|
|
|
|
|
emit warnings). (Peter Kokot)
|
2024-03-17 01:00:15 +08:00
|
|
|
|
. Fixed bug GH-13727 (missing void keyword for C generate code for feature test).
|
|
|
|
|
(Peter Kokot/David Carlier)
|
2023-12-15 03:32:12 +08:00
|
|
|
|
|
2023-12-07 02:57:35 +08:00
|
|
|
|
- Cli:
|
|
|
|
|
. Fix incorrect timeout in built-in web server when using router script and
|
|
|
|
|
max_input_time. (ilutov)
|
|
|
|
|
|
2023-12-11 06:30:04 +08:00
|
|
|
|
- FFI:
|
|
|
|
|
. Fixed bug GH-9698 (stream_wrapper_register crashes with FFI\CData).
|
|
|
|
|
(Jakub Zelenka)
|
2023-12-09 00:44:03 +08:00
|
|
|
|
. Fixed bug GH-12905 (FFI::new interacts badly with observers). (nielsdos)
|
2023-12-11 06:30:04 +08:00
|
|
|
|
|
2024-01-10 04:40:22 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed GH-13082 undefined behavior with GdFont instances handling with
|
|
|
|
|
imageload* and imagechar*. (David Carlier)
|
|
|
|
|
|
2023-12-15 14:03:19 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed GH-12943 (IntlDateFormatter::__construct accepts 'C' as valid locale).
|
|
|
|
|
(David Carlier)
|
|
|
|
|
|
2023-12-12 06:40:26 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. Fixed bug GH-12936 (hash() function hangs endlessly if using sha512 on
|
|
|
|
|
strings >= 4GiB). (nielsdos)
|
|
|
|
|
|
2023-12-27 06:47:45 +08:00
|
|
|
|
- ODBC:
|
|
|
|
|
. Fix crash on Apache shutdown with persistent connections. (nielsdos)
|
|
|
|
|
|
2023-12-08 19:56:30 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM
|
|
|
|
|
with NULL when DIM is the same var as result). (ilutov)
|
2023-12-12 22:17:37 +08:00
|
|
|
|
. Added workaround for SELinux mprotect execheap issue.
|
|
|
|
|
See https://bugzilla.kernel.org/show_bug.cgi?id=218258. (ilutov)
|
2023-12-08 19:56:30 +08:00
|
|
|
|
|
2023-12-22 00:42:09 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug GH-12987 (openssl_csr_sign might leak new cert on error).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
2023-12-18 23:22:49 +08:00
|
|
|
|
- PDO:
|
|
|
|
|
. Fix GH-12969 (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).
|
|
|
|
|
(SakiTakamachi)
|
|
|
|
|
|
2023-11-25 20:22:50 +08:00
|
|
|
|
- PDO_ODBC:
|
|
|
|
|
. Fixed bug GH-12767 (Unable to turn on autocommit mode with setAttribute()).
|
|
|
|
|
(SakiTakamachi)
|
|
|
|
|
|
2023-12-20 01:42:52 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed auto_reset_persistent handling and allow_persistent type. (David Carlier)
|
2023-12-27 06:47:45 +08:00
|
|
|
|
. Fixed bug GH-12974 (Apache crashes on shutdown when using pg_pconnect()).
|
|
|
|
|
(nielsdos)
|
2023-12-20 01:42:52 +08:00
|
|
|
|
|
2023-12-31 06:49:28 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fixed bug #77432 (Segmentation fault on including phar file). (nielsdos)
|
|
|
|
|
|
2023-12-17 08:35:15 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c). (nielsdos)
|
|
|
|
|
|
2023-12-13 03:33:23 +08:00
|
|
|
|
- SimpleXML:
|
|
|
|
|
. Fix getting the address of an uninitialized property of a SimpleXMLElement
|
|
|
|
|
resulting in a crash. (nielsdos)
|
|
|
|
|
|
2023-12-22 00:37:05 +08:00
|
|
|
|
- Tidy:
|
|
|
|
|
. Fixed bug GH-12980 (tidynode.props.attribute is missing
|
|
|
|
|
"Boolean Attributes" and empty attributes). (nielsdos)
|
|
|
|
|
|
2023-12-06 04:01:08 +08:00
|
|
|
|
21 Dec 2023, PHP 8.2.14
|
2023-11-07 22:12:19 +08:00
|
|
|
|
|
2023-11-20 18:56:06 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious
|
|
|
|
|
error handler). (ilutov)
|
2023-11-20 19:37:32 +08:00
|
|
|
|
. Fixed oss-fuzz #64209 (In-place modification of filename in
|
|
|
|
|
php_message_handler_for_zend). (ilutov)
|
2023-11-25 07:57:22 +08:00
|
|
|
|
. Fixed bug GH-12758 / GH-12768 (Invalid opline in OOM handlers within
|
|
|
|
|
ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC). (Florian Engelhardt)
|
2023-12-01 03:27:07 +08:00
|
|
|
|
. Fix various missing NULL checks. (nielsdos, dstogov)
|
2023-11-30 20:41:07 +08:00
|
|
|
|
. Fixed bug GH-12835 (Leak of call->extra_named_params on internal __call).
|
|
|
|
|
(ilutov)
|
2023-11-20 18:56:06 +08:00
|
|
|
|
|
2023-11-24 00:18:34 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed improbably integer overflow while parsing really large (or small)
|
|
|
|
|
Unix timestamps. (Derick)
|
|
|
|
|
|
2023-11-16 04:15:02 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fixed bug GH-12616 (DOM: Removing XMLNS namespace node results in invalid
|
|
|
|
|
default: prefix). (nielsdos)
|
|
|
|
|
|
2023-11-18 00:32:23 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval).
|
|
|
|
|
(Patrick Prasse)
|
2023-12-02 23:20:15 +08:00
|
|
|
|
|
|
|
|
|
- FTP:
|
|
|
|
|
. Fixed bug GH-9348 (FTP & SSL session reuse). (nielsdos)
|
2023-12-18 23:22:49 +08:00
|
|
|
|
|
2023-11-11 21:15:23 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed bug GH-12635 (Test bug69398.phpt fails with ICU 74.1). (nielsdos)
|
|
|
|
|
|
2023-11-18 02:45:40 +08:00
|
|
|
|
- LibXML:
|
|
|
|
|
. Fixed bug GH-12702 (libxml2 2.12.0 issue building from src). (nono303)
|
2023-11-30 03:49:29 +08:00
|
|
|
|
. Fixed test failures for libxml2 2.12.0. (nielsdos)
|
2023-11-18 02:45:40 +08:00
|
|
|
|
|
2023-08-25 23:43:01 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Avoid using uninitialised struct. (mikhainin)
|
2023-11-27 20:25:11 +08:00
|
|
|
|
. Fixed bug GH-12791 (Possible dereference of NULL in MySQLnd debug code).
|
|
|
|
|
(nielsdos)
|
2023-08-25 23:43:01 +08:00
|
|
|
|
|
2023-11-28 00:04:41 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning
|
|
|
|
|
at the same time as invalid offset Error). (Girgias)
|
2023-11-28 00:19:35 +08:00
|
|
|
|
. Fixed JIT bug (JIT emits "Attempt to assign property of non-object"
|
|
|
|
|
warning at the same time as Error is being thrown). (Girgias)
|
2023-11-28 00:04:41 +08:00
|
|
|
|
|
2023-10-23 20:51:03 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug #50713 (openssl_pkcs7_verify() may ignore untrusted CAs).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
2023-11-08 15:39:05 +08:00
|
|
|
|
- PCRE:
|
|
|
|
|
. Fixed bug GH-12628 (The gh11374 test fails on Alpinelinux). (nielsdos)
|
|
|
|
|
|
2023-12-03 15:59:21 +08:00
|
|
|
|
- PDO PGSQL:
|
|
|
|
|
. Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)
|
|
|
|
|
|
2023-11-24 17:39:07 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed bug GH-12763 wrong argument type for pg_untrace. (degtyarov)
|
|
|
|
|
|
2023-11-16 03:15:44 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fixed bug GH-12675 (MEMORY_LEAK in phpdbg_prompt.c). (nielsdos)
|
|
|
|
|
|
2023-12-01 03:43:50 +08:00
|
|
|
|
- SOAP:
|
|
|
|
|
. Fixed bug GH-12838 ([SOAP] Temporary WSDL cache files not being deleted).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-11-19 06:50:53 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-12721 (SplFileInfo::getFilename() segfault in combination
|
|
|
|
|
with GlobIterator and no directory separator). (nielsdos)
|
|
|
|
|
|
2023-11-17 04:42:05 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fixed bug GH-12633 (sqlite3_defensive.phpt fails with sqlite 3.44.0).
|
|
|
|
|
(SakiTakamachi)
|
|
|
|
|
|
2023-10-24 03:36:01 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fix memory leak in syslog device handling. (danog)
|
2023-11-09 03:06:18 +08:00
|
|
|
|
. Fixed bug GH-12621 (browscap segmentation fault when configured in the
|
|
|
|
|
vhost). (nielsdos)
|
2023-11-13 01:43:35 +08:00
|
|
|
|
. Fixed bug GH-12655 (proc_open() does not take into account references
|
|
|
|
|
in the descriptor array). (nielsdos)
|
2023-11-07 22:12:19 +08:00
|
|
|
|
|
2023-11-17 04:42:05 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug #79945 (Stream wrappers in imagecreatefrompng causes segfault).
|
|
|
|
|
(Jakub Zelenka)
|
2023-11-09 09:04:10 +08:00
|
|
|
|
|
2023-11-14 21:56:59 +08:00
|
|
|
|
- Zip:
|
|
|
|
|
. Fixed bug GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option
|
|
|
|
|
Behavior). (Remi)
|
|
|
|
|
|
2023-11-07 22:12:19 +08:00
|
|
|
|
23 Nov 2023, PHP 8.2.13
|
2023-10-10 23:45:26 +08:00
|
|
|
|
|
2023-10-11 00:47:58 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed double-free of non-interned enum case name. (ilutov)
|
2023-10-17 21:23:31 +08:00
|
|
|
|
. Fixed bug GH-12457 (Incorrect result of stripos with single character
|
|
|
|
|
needle). (SakiTakamachi)
|
2023-10-19 06:47:59 +08:00
|
|
|
|
. Fixed bug GH-12468 (Double-free of doc_comment when overriding static
|
|
|
|
|
property via trait). (ilutov)
|
2023-10-28 21:04:13 +08:00
|
|
|
|
. Fixed segfault caused by weak references to FFI objects. (sj-i)
|
2023-10-29 19:20:31 +08:00
|
|
|
|
. Fixed max_execution_time: don't delete an unitialized timer. (Kévin Dunglas)
|
2023-10-31 17:06:56 +08:00
|
|
|
|
. Fixed bug GH-12558 (Arginfo soft-breaks with namespaced class return type
|
|
|
|
|
if the class name starts with N). (kocsismate)
|
2023-10-10 23:45:26 +08:00
|
|
|
|
|
2023-10-12 02:51:52 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fix registerNodeClass with abstract class crashing. (nielsdos)
|
2023-10-24 16:09:40 +08:00
|
|
|
|
. Add missing NULL pointer error check. (icy17)
|
2023-11-02 08:35:21 +08:00
|
|
|
|
. Fix validation logic of php:function() callbacks. (nielsdos)
|
2023-10-12 02:51:52 +08:00
|
|
|
|
|
2023-10-09 16:46:55 +08:00
|
|
|
|
- Fiber:
|
|
|
|
|
. Fixed bug GH-11121 (ReflectionFiber segfault). (danog, trowski, bwoebi)
|
|
|
|
|
|
2023-09-23 05:02:19 +08:00
|
|
|
|
- FPM:
|
2023-10-07 20:59:40 +08:00
|
|
|
|
. Fixed bug GH-9921 (Loading ext in FPM config does not register module
|
|
|
|
|
handlers). (Jakub Zelenka)
|
2023-09-23 05:02:19 +08:00
|
|
|
|
. Fixed bug GH-12232 (FPM: segfault dynamically loading extension without
|
|
|
|
|
opcache). (Jakub Zelenka)
|
2023-10-09 05:21:31 +08:00
|
|
|
|
. Fixed bug #76922 (FastCGI terminates conn after FCGI_GET_VALUES).
|
|
|
|
|
(Jakub Zelenka)
|
2023-09-23 05:02:19 +08:00
|
|
|
|
|
2023-10-30 21:42:50 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Removed the BC break on IntlDateFormatter::construct which threw an
|
|
|
|
|
exception with an invalid locale. (David Carlier)
|
|
|
|
|
|
2023-10-10 23:11:01 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Added warning when JIT cannot be enabled. (danog)
|
2023-10-11 23:17:11 +08:00
|
|
|
|
. Fixed bug GH-8143 (Crashes in zend_accel_inheritance_cache_find since
|
|
|
|
|
upgrading to 8.1.3 due to corrupt on-disk file cache). (turchanov)
|
2023-10-11 04:54:03 +08:00
|
|
|
|
|
2023-10-21 22:16:32 +08:00
|
|
|
|
- OpenSSL:
|
2023-10-25 01:35:55 +08:00
|
|
|
|
. Fixed bug GH-12489 (Missing sigbio creation checking in openssl_cms_verify).
|
|
|
|
|
(Jakub Zelenka)
|
2023-10-21 22:16:32 +08:00
|
|
|
|
|
2023-10-15 05:48:00 +08:00
|
|
|
|
- PCRE:
|
|
|
|
|
. Fixed bug GH-11374 (Backport upstream fix, Different preg_match result
|
|
|
|
|
with -d pcre.jit=0). (mvorisek)
|
|
|
|
|
|
2023-10-11 06:11:16 +08:00
|
|
|
|
- SOAP:
|
|
|
|
|
. Fixed bug GH-12392 (Segmentation fault on SoapClient::__getTypes).
|
|
|
|
|
(nielsdos)
|
2023-10-19 04:20:50 +08:00
|
|
|
|
. Fixed bug #66150 (SOAP WSDL cache race condition causes Segmentation
|
|
|
|
|
Fault). (nielsdos)
|
|
|
|
|
. Fixed bug #67617 (SOAP leaves incomplete cache file on ENOSPC). (nielsdos)
|
2023-10-19 22:41:29 +08:00
|
|
|
|
. Fix incorrect uri check in SOAP caching. (nielsdos)
|
2023-10-20 00:32:01 +08:00
|
|
|
|
. Fix segfault and assertion failure with refcounted props and arrays.
|
|
|
|
|
(nielsdos)
|
2023-10-25 02:20:05 +08:00
|
|
|
|
. Fix potential crash with an edge case of persistent encoders. (nielsdos)
|
2023-10-19 02:18:40 +08:00
|
|
|
|
. Fixed bug #75306 (Memleak in SoapClient). (nielsdos)
|
2023-10-11 04:54:03 +08:00
|
|
|
|
|
2023-09-24 04:03:31 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug #75708 (getimagesize with "&$imageinfo" fails on StreamWrappers).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
2023-10-24 16:09:40 +08:00
|
|
|
|
- XMLReader:
|
|
|
|
|
. Add missing NULL pointer error check. (icy17)
|
|
|
|
|
|
|
|
|
|
- XMLWriter:
|
|
|
|
|
. Add missing NULL pointer error check. (icy17)
|
|
|
|
|
|
2023-10-15 06:13:57 +08:00
|
|
|
|
- XSL:
|
|
|
|
|
. Add missing module dependency. (nielsdos)
|
2023-11-02 08:35:21 +08:00
|
|
|
|
. Fix validation logic of php:function() callbacks. (nielsdos)
|
2023-10-15 06:13:57 +08:00
|
|
|
|
|
2023-10-10 23:45:26 +08:00
|
|
|
|
26 Oct 2023, PHP 8.2.12
|
2023-09-12 19:53:56 +08:00
|
|
|
|
|
2023-09-18 20:28:39 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-12207 (memory leak when class using trait with doc block).
|
|
|
|
|
(rioderelfte)
|
Fix GH-12215: Module entry being overwritten causes type errors in ext/dom (<= PHP 8.3)
When we try to load an extension multiple times, we still overwrite the
type, module number, and handle. If the module number is used to
indicate module boundaries (e.g. in reflection and in dom, see e.g.
dom_objects_set_class_ex), then all sorts of error can happen.
In the case of ext/dom, OP's error happens because the following
happens:
- The property handler is set up incorrectly in
dom_objects_set_class_ex() because the wrong module number is
specified. The class highest in the hierarchy is DOMNode, so the
property handler is incorrectly set to that of DOMNode instead of
DOMDocument.
- The documentElement property doesn't exist on DOMNode, it only exists
on DOMDocument, so it tries to read using zend_std_read_property().
As there is no user property called documentElement, that read
operation returns an undef value.
However, the type is still checked, resulting in the strange exception.
Closes GH-12219.
2023-09-15 23:15:11 +08:00
|
|
|
|
. Fixed bug GH-12215 (Module entry being overwritten causes type errors in
|
|
|
|
|
ext/dom). (nielsdos)
|
2023-09-23 00:11:22 +08:00
|
|
|
|
. Fixed bug GH-12273 (__builtin_cpu_init check). (Freaky)
|
2023-09-28 04:16:43 +08:00
|
|
|
|
. Fixed bug #80092 (ZTS + preload = segfault on shutdown). (nielsdos)
|
2023-09-18 20:28:39 +08:00
|
|
|
|
|
2023-10-05 15:36:18 +08:00
|
|
|
|
- CLI:
|
|
|
|
|
. Ensure a single Date header is present. (coppolafab)
|
|
|
|
|
|
2023-09-26 02:00:53 +08:00
|
|
|
|
- CType:
|
|
|
|
|
. Fixed bug GH-11997 (ctype_alnum 5 times slower in PHP 8.1 or greater).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-09-28 04:32:01 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Restore old namespace reconciliation behaviour. (nielsdos)
|
2023-10-09 06:15:54 +08:00
|
|
|
|
. Fixed bug GH-8996 (DOMNode serialization on PHP ^8.1). (nielsdos)
|
2023-09-28 04:32:01 +08:00
|
|
|
|
|
2023-10-01 01:18:25 +08:00
|
|
|
|
- Fileinfo:
|
|
|
|
|
. Fixed bug GH-11891 (fileinfo returns text/xml for some svg files). (usarise)
|
|
|
|
|
|
2023-09-14 19:16:43 +08:00
|
|
|
|
- Filter:
|
|
|
|
|
. Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)
|
2023-09-12 19:53:56 +08:00
|
|
|
|
|
2023-09-12 19:36:20 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. Fixed bug GH-12186 (segfault copying/cloning a finalized HashContext).
|
|
|
|
|
(MaxSem)
|
|
|
|
|
|
2023-09-20 01:47:29 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed bug GH-12243 (segfault on IntlDateFormatter::construct).
|
|
|
|
|
(David Carlier)
|
2023-09-23 20:32:53 +08:00
|
|
|
|
. Fixed bug GH-12282 (IntlDateFormatter::construct should throw an exception
|
|
|
|
|
on an invalid locale). (David Carlier)
|
2023-09-20 01:47:29 +08:00
|
|
|
|
|
2023-09-26 01:38:42 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-12297 (PHP Startup: Invalid library (maybe not a PHP library)
|
|
|
|
|
'mysqlnd.so' in Unknown on line). (nielsdos)
|
|
|
|
|
|
2023-09-29 22:57:13 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed opcache_invalidate() on deleted file. (mikhainin)
|
2023-10-08 05:46:29 +08:00
|
|
|
|
. Fixed bug GH-12380 (JIT+private array property access inside closure
|
|
|
|
|
accesses private property in child class). (nielsdos)
|
2023-09-29 22:57:13 +08:00
|
|
|
|
|
2023-09-03 02:24:39 +08:00
|
|
|
|
- PCRE:
|
|
|
|
|
. Fixed bug GH-11956 (Backport upstream fix, PCRE regular expressions with
|
|
|
|
|
JIT enabled gives different result). (nielsdos)
|
|
|
|
|
|
2023-09-12 01:54:54 +08:00
|
|
|
|
- SimpleXML:
|
|
|
|
|
. Fixed bug GH-12170 (Can't use xpath with comments in SimpleXML). (nielsdos)
|
2023-09-16 20:18:33 +08:00
|
|
|
|
. Fixed bug GH-12223 (Entity reference produces infinite loop in
|
|
|
|
|
var_dump/print_r). (nielsdos)
|
2023-09-24 05:07:30 +08:00
|
|
|
|
. Fixed bug GH-12167 (Unable to get processing instruction contents in
|
|
|
|
|
SimpleXML). (nielsdos)
|
|
|
|
|
. Fixed bug GH-12169 (Unable to get comment contents in SimpleXML).
|
|
|
|
|
(nielsdos)
|
2023-09-12 01:54:54 +08:00
|
|
|
|
|
2023-09-13 05:45:24 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug GH-12190 (binding ipv4 address with both address and port at 0).
|
|
|
|
|
(David Carlier)
|
|
|
|
|
|
2023-09-21 02:49:10 +08:00
|
|
|
|
- XML:
|
|
|
|
|
. Fix return type of stub of xml_parse_into_struct(). (nielsdos)
|
2023-09-21 02:51:42 +08:00
|
|
|
|
. Fix memory leak when calling xml_parse_into_struct() twice. (nielsdos)
|
2023-09-21 02:49:10 +08:00
|
|
|
|
|
2023-09-29 05:49:42 +08:00
|
|
|
|
- XSL:
|
|
|
|
|
. Fix type error on XSLTProcessor::transformToDoc return value with
|
|
|
|
|
SimpleXML. (nielsdos)
|
|
|
|
|
|
2023-09-12 19:53:56 +08:00
|
|
|
|
28 Sep 2023, PHP 8.2.11
|
2023-08-16 04:08:52 +08:00
|
|
|
|
|
2023-08-12 22:11:29 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-11937 (Constant ASTs containing objects). (ilutov)
|
2023-08-29 01:47:19 +08:00
|
|
|
|
. Fixed bug GH-11790 (On riscv64 require libatomic if actually needed).
|
|
|
|
|
(Jeremie Courreges-Anglas)
|
2023-08-08 17:44:04 +08:00
|
|
|
|
. Fixed bug GH-11876: ini_parse_quantity() accepts invalid quantities.
|
|
|
|
|
(Girgias)
|
2023-08-29 22:53:38 +08:00
|
|
|
|
. Fixed bug GH-12073 (Segfault when freeing incompletely initialized
|
|
|
|
|
closures). (ilutov)
|
2023-08-28 00:18:34 +08:00
|
|
|
|
. Fixed bug GH-12060 (Internal iterator rewind handler is called twice).
|
|
|
|
|
(ju1ius)
|
2023-09-06 19:22:59 +08:00
|
|
|
|
. Fixed bug GH-12102 (Incorrect compile error when using array access on TMP
|
|
|
|
|
value in function call). (ilutov)
|
2023-08-12 22:11:29 +08:00
|
|
|
|
|
2023-08-20 05:54:53 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fix memory leak when setting an invalid DOMDocument encoding. (nielsdos)
|
|
|
|
|
|
2023-08-20 02:20:01 +08:00
|
|
|
|
- Iconv:
|
|
|
|
|
. Fixed build for NetBSD which still uses the old iconv signature.
|
|
|
|
|
(David Carlier)
|
|
|
|
|
|
2023-09-03 07:59:20 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed bug GH-12020 (intl_get_error_message() broken after
|
|
|
|
|
MessageFormatter::formatMessage() fails). (Girgias)
|
|
|
|
|
|
2023-03-24 21:52:20 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-10270 (Invalid error message when connection via SSL fails:
|
|
|
|
|
"trying to connect via (null)"). (Kamil Tekiela)
|
2023-08-16 03:09:58 +08:00
|
|
|
|
|
2023-09-01 02:25:46 +08:00
|
|
|
|
- ODBC:
|
|
|
|
|
. Fixed memory leak with failed SQLPrepare. (NattyNarwhal)
|
2023-09-01 03:14:30 +08:00
|
|
|
|
. Fixed persistent procedural ODBC connections not getting closed.
|
|
|
|
|
(NattyNarwhal)
|
2023-09-01 02:25:46 +08:00
|
|
|
|
|
2023-09-10 03:17:02 +08:00
|
|
|
|
- SimpleXML:
|
|
|
|
|
. Fixed bug #52751 (XPath processing-instruction() function is not
|
|
|
|
|
supported). (nielsdos)
|
|
|
|
|
|
2023-08-31 03:25:03 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-11972 (RecursiveCallbackFilterIterator regression in 8.1.18).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-09-09 01:56:36 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fixed bug GH-11878 (SQLite3 callback functions cause a memory leak with
|
|
|
|
|
a callable array). (nielsdos, arnaud-lb)
|
|
|
|
|
|
2023-08-16 04:08:52 +08:00
|
|
|
|
31 Aug 2023, PHP 8.2.10
|
2023-07-18 19:02:43 +08:00
|
|
|
|
|
2023-07-21 19:25:50 +08:00
|
|
|
|
- CLI:
|
|
|
|
|
. Fixed bug GH-11716 (cli server crashes on SIGINT when compiled with
|
|
|
|
|
ZEND_RC_DEBUG=1). (nielsdos)
|
2023-08-02 22:02:00 +08:00
|
|
|
|
. Fixed bug GH-10964 (Improve man page about the built-in server).
|
|
|
|
|
(Alexandre Daubois)
|
2023-07-21 19:25:50 +08:00
|
|
|
|
|
2023-08-09 23:06:46 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug GH-11416 (Crash with DatePeriod when uninitialised objects are
|
|
|
|
|
passed in). (Derick)
|
|
|
|
|
|
2023-08-06 00:03:46 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed strerror_r detection at configuration time. (Kévin Dunglas)
|
2023-08-15 05:34:56 +08:00
|
|
|
|
. Fixed trait typed properties using a DNF type not being correctly bound.
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed trait property types not being arena allocated if copied from
|
|
|
|
|
an internal trait. (Girgias)
|
|
|
|
|
. Fixed deep copy of property DNF type during lazy class load.
|
|
|
|
|
(Girgias, ilutov)
|
|
|
|
|
. Fixed memory freeing of DNF types for non arena allocated types.
|
|
|
|
|
(Girgias, ju1ius)
|
2023-08-06 00:03:46 +08:00
|
|
|
|
|
2023-07-24 05:39:33 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fix DOMEntity field getter bugs. (nielsdos)
|
2023-07-23 20:59:32 +08:00
|
|
|
|
. Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.
|
|
|
|
|
(nielsdos)
|
2023-07-23 03:47:09 +08:00
|
|
|
|
. Fix DOMCharacterData::replaceWith() with itself. (nielsdos)
|
2023-07-23 01:05:09 +08:00
|
|
|
|
. Fix empty argument cases for DOMParentNode methods. (nielsdos)
|
2023-07-26 03:09:47 +08:00
|
|
|
|
. Fixed bug GH-11791 (Wrong default value of DOMDocument::xmlStandalone).
|
|
|
|
|
(nielsdos)
|
2023-07-31 23:57:53 +08:00
|
|
|
|
. Fix json_encode result on DOMDocument. (nielsdos)
|
2023-08-06 22:49:02 +08:00
|
|
|
|
. Fix manually calling __construct() on DOM classes. (nielsdos)
|
2023-08-06 03:27:02 +08:00
|
|
|
|
. Fixed bug GH-11830 (ParentNode methods should perform their checks
|
|
|
|
|
upfront). (nielsdos)
|
2023-08-06 03:53:45 +08:00
|
|
|
|
. Fix viable next sibling search for replaceWith. (nielsdos)
|
2023-08-08 03:16:33 +08:00
|
|
|
|
. Fix segfault when DOMParentNode::prepend() is called when the child
|
|
|
|
|
disappears. (nielsdos)
|
2023-07-24 05:39:33 +08:00
|
|
|
|
|
2023-07-20 19:28:02 +08:00
|
|
|
|
- FFI:
|
|
|
|
|
. Fix leaking definitions when using FFI::cdef()->new(...). (ilutov)
|
2023-07-19 05:30:49 +08:00
|
|
|
|
|
2023-07-19 01:23:10 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options
|
|
|
|
|
parameter in signature. (ilutov)
|
2023-07-18 19:02:43 +08:00
|
|
|
|
|
2023-06-13 05:42:11 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-11440 (authentication to a sha256_password account fails over
|
|
|
|
|
SSL). (nielsdos)
|
2023-06-13 05:47:42 +08:00
|
|
|
|
. Fixed bug GH-11438 (mysqlnd fails to authenticate with sha256_password
|
|
|
|
|
accounts using passwords longer than 19 characters).
|
|
|
|
|
(nielsdos, Kamil Tekiela)
|
2023-06-28 16:29:31 +08:00
|
|
|
|
. Fixed bug GH-11550 (MySQL Statement has a empty query result when
|
|
|
|
|
the response field has changed, also Segmentation fault).
|
|
|
|
|
(Yurunsoft)
|
2023-08-10 01:09:54 +08:00
|
|
|
|
. Fixed invalid error message "Malformed packet" when connection is dropped.
|
|
|
|
|
(Kamil Tekiela)
|
2023-06-13 05:42:11 +08:00
|
|
|
|
|
2023-07-17 08:34:49 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-11715 (opcache.interned_strings_buffer either has no effect or
|
|
|
|
|
opcache_get_status() / phpinfo() is wrong). (nielsdos)
|
2023-07-27 19:54:29 +08:00
|
|
|
|
. Avoid adding an unnecessary read-lock when loading script from shm if
|
|
|
|
|
restart is in progress. (mikhainin)
|
2023-07-17 08:34:49 +08:00
|
|
|
|
|
2023-08-03 03:08:52 +08:00
|
|
|
|
- PCNTL:
|
|
|
|
|
. Revert behaviour of receiving SIGCHLD signals back to the behaviour
|
|
|
|
|
before 8.1.22. (nielsdos)
|
|
|
|
|
|
2023-08-14 07:41:54 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug #81992 (SplFixedArray::setSize() causes use-after-free).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-07-17 02:03:01 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Prevent int overflow on $decimals in number_format. (Marc Bennewitz)
|
2023-08-04 09:27:49 +08:00
|
|
|
|
. Fixed bug GH-11870 (Fix off-by-one bug when truncating tempnam prefix)
|
|
|
|
|
(athos-ribeiro)
|
2023-07-17 02:03:01 +08:00
|
|
|
|
|
2023-07-18 19:02:43 +08:00
|
|
|
|
03 Aug 2023, PHP 8.2.9
|
2023-06-20 22:25:30 +08:00
|
|
|
|
|
2023-06-24 22:30:57 +08:00
|
|
|
|
- Build:
|
2023-07-10 22:01:52 +08:00
|
|
|
|
. Fixed bug GH-11522 (PHP version check fails with '-' separator).
|
|
|
|
|
(SVGAnimate)
|
2023-06-24 22:30:57 +08:00
|
|
|
|
|
2023-06-23 06:07:46 +08:00
|
|
|
|
- CLI:
|
|
|
|
|
. Fix interrupted CLI output causing the process to exit. (nielsdos)
|
|
|
|
|
|
2023-06-27 01:08:52 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).
|
|
|
|
|
(ilutov)
|
2023-07-05 19:16:32 +08:00
|
|
|
|
. Fixed line number of JMP instruction over else block. (ilutov)
|
Fix use-of-uninitialized-value with ??= on assert
Normally, PHP evaluates all expressions in offsets (property or array), as well
as the right hand side of assignments before actually fetching the offsets. This
is well explained in this blog post.
https://www.npopov.com/2017/04/14/PHP-7-Virtual-machine.html#writes-and-memory-safety
For ??= we have a bit of a problem in that the rhs must only be evaluated if the
lhs is null or undefined. Thus, we have to first compile the lhs with BP_VAR_IS,
conditionally run the rhs and then re-fetch the lhs with BP_VAR_W to to make
sure the offsets are valid if they have been invalidated.
However, we don't want to just re-evaluate the entire lhs because it may contain
side-effects, as in $array[$x++] ??= 42;. In this case, we don't want to
re-evaluate $x++ because it would result in writing to a different offset than
was previously tested. The same goes for function calls, like
$array[foo()] ??= 42;, where the second call to foo() might result in a
different value. PHP behaves correctly in these cases. This is implemented by
memoizing sub-expressions in the lhs of ??= and reusing them when compiling the
lhs for the second time. This is done for any expression that isn't a variable,
i.e. anything that can (potentially) be written to.
Unfortunately, this also means that function calls are considered writable due
to their return-by-reference semantics, and will thus not be memoized. The
expression foo()['bar'] ??= 42; will invoke foo() twice. Even worse,
foo(bar()) ??= 42; will call both foo() and bar() twice, but
foo(bar() + 1) ??= 42; will only call foo() twice. This is likely not by design,
and was just overlooked in the implementation. The RFC does not specify how
function calls in the lhs of the coalesce assignment behaves. This should
probably be improved in the future.
Now, the problem this commit actually fixes is that ??= may memoize expressions
inside assert() function calls that may not actually execute. This is not only
an issue when using the VAR in the second expression (which would usually also
be skipped) but also when freeing the VAR. For this reason, it is not safe to
memoize assert() sub-expressions.
There are two possible solutions:
1. Don't memoize any sub-expressions of assert(), meaning they will execute
twice.
2. Throw a compile error.
Option 2 is not quite simple, because we can't disallow all memoization inside
assert(), as that would break assertions like assert($array[foo()] ??= 'bar');.
Code like this is highly unlikely (and dubious) but possible. In this case, we
would need to make sure that a memoized value could not be used across the
assert boundary it was created in. The complexity for this is not worthwhile. So
we opt for option 1 and disable memoization immediately inside assert().
Fixes GH-11580
Closes GH-11581
2023-07-03 20:59:13 +08:00
|
|
|
|
. Fixed use-of-uninitialized-value with ??= on assert. (ilutov)
|
2023-07-08 19:00:23 +08:00
|
|
|
|
. Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions). (ilutov)
|
2023-07-09 17:48:01 +08:00
|
|
|
|
. Fixed build for FreeBSD before the 11.0 releases. (David Carlier)
|
2023-06-27 01:08:52 +08:00
|
|
|
|
|
2023-07-09 00:30:28 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Fix crash when an invalid callback function is passed to
|
|
|
|
|
CURLMOPT_PUSHFUNCTION. (nielsdos)
|
|
|
|
|
|
2023-06-23 23:50:41 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug GH-11368 (Date modify returns invalid datetime). (Derick)
|
2023-07-11 23:29:04 +08:00
|
|
|
|
. Fixed bug GH-11600 (Can't parse time strings which include (narrow)
|
|
|
|
|
non-breaking space characters). (Derick)
|
2023-08-03 20:13:01 +08:00
|
|
|
|
. Fixed bug GH-11854 (DateTime:createFromFormat stopped parsing datetime with
|
|
|
|
|
extra space). (nielsdos, Derick)
|
2023-06-23 23:50:41 +08:00
|
|
|
|
|
2023-07-08 05:13:56 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fixed bug GH-11625 (DOMElement::replaceWith() doesn't replace node with
|
|
|
|
|
DOMDocumentFragment but just deletes node or causes wrapping <></>
|
|
|
|
|
depending on libxml2 version). (nielsdos)
|
|
|
|
|
|
2023-07-02 00:57:46 +08:00
|
|
|
|
- Fileinfo:
|
|
|
|
|
. Fixed bug GH-11298 (finfo returns wrong mime type for xz files). (Anatol)
|
|
|
|
|
|
2023-05-28 09:47:27 +08:00
|
|
|
|
- FTP:
|
|
|
|
|
. Fix context option check for "overwrite". (JonasQuinten)
|
2023-07-07 03:07:52 +08:00
|
|
|
|
. Fixed bug GH-10562 (Memory leak and invalid state with consecutive
|
|
|
|
|
ftp_nb_fget). (nielsdos)
|
2023-05-28 09:47:27 +08:00
|
|
|
|
|
Fix most external GD 2.3.3 compatibility
* ext/gd/tests/bug45799.phpt: tweak to work with external gd.
The expected output from this test contains an extra newline with
gd-2.3.3 from the system (Gentoo). Adding a whitespace wildcard takes
care of it, and the test still passes with the bundled version of gd.
* ext/gd/tests: external gd-2.3.3 compatibility.
Support for the legacy "gd" image format was removed from gd-2.3.3
upstream:
https://github.com/libgd/libgd/blob/master/CHANGELOG.md#233---2021-09-12
Several tests for the gd extension utilize that format, and naturally
fail when gd-2.3.3 from the system is used. This commit skips those
tests when the version of gd is at least 2.3.3.
* ext/gd/tests/bug73159.phpt: skip with external gd >= 2.3.3
This test uses the imagegd2() function to check that
https://github.com/libgd/libgd/issues/289
is fixed. When an external gd without support for the "gd" format is
used, no error is thrown, but a nonsense result is printed: this is
normal. The corresponding upstream test is disabled in that situation;
it's not expected to work.
This commit skips the corresponding PHP test under the same
circumstances to fix a test failure with external gd >= 2.3.3.
* ext/gd/tests/bug73155.phpt: skip with external gd >= 2.3.3
This test uses the imagegd2() function to check that
https://github.com/libgd/libgd/issues/309
is fixed. When an external gd without support for the "gd" format is
used, no error is thrown, but a nonsense result is printed: this is
normal. The corresponding upstream test is disabled in that situation;
it's not expected to work.
This commit skips the corresponding PHP test under the same
circumstances to fix a test failure with external gd >= 2.3.3.
* ext/gd/tests/bug73157.phpt: skip with external gd >= 2.3.3
This test ensures that the third (chunk_size) parameter to imagegd2()
is respected when a fourth parameter is also given. However, when an
external gd without support for the "gd" format is used, the call to
imagegd2() does not really work at all. It doesn't fail, but it
produces an "image" with a nonsense chunk size.
To avoid failures when an external gd >= 2.3.3 is used, we skip the
test entirely in that case.
* ext/gd/tests/bug77973.phpt: accept lowercase "Invalid"
This test fails with an external gd because the test expects "Invalid"
where upstream gd says "invalid". This commit tweaks the expected
output to accept an arbitrary character in the i/I position.
* ext/gd/tests/bug39780_extern.phpt: update for external gd-2.3.3.
Since there are no CI runs with external gd, I can only assume that
this test has fallen out-of-date due to changes in PHP itself. I've
tweaked the expected output (only slightly) so that the test passes
with both gd-2.3.2 and gd-2.3.3.
* ext/gd/tests/bug66356.phpt: update expected output for external gd.
Newer (external) versions of GD start their error messages with
lowercase characters, whereas this test is expecting them in
uppercase. A single-character wildcard now supports both formats.
* ext/gd/tests/imagegd_truecolor.phpt: skip with external gd >= 2.3.3.
This test uses the imagegd() function, but the "gd" format has been
disabled by default in upstream gd-2.3.3. We still get some kind of
image data back from the call to imagegd(), but its "signature",
"truecolor", and "size" no longer match the expected values. This
commit skips the test when an external gd >= 2.3.3 is used.
* ext/gd/tests/createfromwbmp2_extern.phpt: update for external gd-2.3.3.
* ext/gd/tests/libgd00086_extern.phpt: update for external gd-2.3.3.
Since there are no CI runs with external gd, I can only assume that
this test has fallen out-of-date due to changes in PHP itself. I've
tweaked the expected output (only slightly) so that the test passes
with both gd-2.3.2 and gd-2.3.3.
* ext/gd/tests/bug77272.phpt: update expected output for external gd.
Newer (external) versions of GD start their error messages with
lowercase characters, whereas this test is expecting them in
uppercase. A single-character wildcard now supports both formats.
* ext/gd/tests/bug77479.phpt: update for newer external gd.
This test fails with gd-2.3.3 (at least) due to minor capitalization
and whitespace issues. We add some wildcards to account for the
difference.
Closes GH-11257.
Closes GH-11262.
Closes GH-11264.
Closes GH-11280.
2023-05-17 20:59:53 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fix most of the external libgd test failures. (Michael Orlitzky)
|
|
|
|
|
|
2023-07-10 18:23:49 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fix memory leak in MessageFormatter::format() on failure. (Girgias)
|
|
|
|
|
|
2023-08-01 05:00:57 +08:00
|
|
|
|
- Libxml:
|
|
|
|
|
. Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading
|
|
|
|
|
in XML without enabling it). (CVE-2023-3823) (nielsdos, ilutov)
|
|
|
|
|
|
2023-07-02 00:34:40 +08:00
|
|
|
|
- MBString:
|
|
|
|
|
. Fix GH-11300 (license issue: restricted unicode license headers).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-07-11 22:39:25 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-10914 (OPCache with Enum and Callback functions results in
|
|
|
|
|
segmentation fault). (nielsdos)
|
2023-07-17 08:44:35 +08:00
|
|
|
|
. Prevent potential deadlock if accelerated globals cannot be allocated.
|
|
|
|
|
(nielsdos)
|
2023-07-11 22:39:25 +08:00
|
|
|
|
|
2023-06-23 06:04:07 +08:00
|
|
|
|
- PCNTL:
|
|
|
|
|
. Fixed bug GH-11498 (SIGCHLD is not always returned from proc_open).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-07-07 20:32:43 +08:00
|
|
|
|
- PDO:
|
2023-07-17 14:09:13 +08:00
|
|
|
|
. Fix GH-11587 (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true
|
2023-07-07 20:32:43 +08:00
|
|
|
|
and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer
|
|
|
|
|
filled). (SakiTakamachi)
|
|
|
|
|
|
2023-06-21 08:02:15 +08:00
|
|
|
|
- PDO SQLite:
|
|
|
|
|
. Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).
|
|
|
|
|
(KapitanOczywisty, CViniciusSDias)
|
|
|
|
|
|
2023-07-09 02:17:04 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Add missing check on EVP_VerifyUpdate() in phar util. (nielsdos)
|
2023-08-01 05:00:57 +08:00
|
|
|
|
. Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()).
|
|
|
|
|
(CVE-2023-3824) (nielsdos)
|
2023-07-09 02:17:04 +08:00
|
|
|
|
|
2023-07-08 01:17:35 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fixed bug GH-9669 (phpdbg -h options doesn't list the -z option). (adsr)
|
|
|
|
|
|
2023-06-18 04:49:53 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Removed broken url support for transferring session ID. (ilutov)
|
|
|
|
|
|
2023-05-23 23:39:17 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fix serialization of RC1 objects appearing in object graph twice. (ilutov)
|
2023-08-15 05:34:56 +08:00
|
|
|
|
|
2023-07-19 18:35:18 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug GH-11735 (Use-after-free when unregistering user stream wrapper
|
|
|
|
|
from itself). (ilutov)
|
2023-05-23 23:39:17 +08:00
|
|
|
|
|
2023-07-07 04:02:56 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fix replaced error handling in SQLite3Stmt::__construct. (nielsdos)
|
|
|
|
|
|
2023-06-30 21:18:37 +08:00
|
|
|
|
- XMLReader:
|
|
|
|
|
. Fix GH-11548 (Argument corruption when calling XMLReader::open or
|
|
|
|
|
XMLReader::XML non-statically with observer active). (Bob)
|
|
|
|
|
|
2023-06-20 22:25:30 +08:00
|
|
|
|
06 Jul 2023, PHP 8.2.8
|
2023-05-24 04:56:58 +08:00
|
|
|
|
|
2023-05-16 08:37:42 +08:00
|
|
|
|
- CLI:
|
|
|
|
|
. Fixed bug GH-11246 (cli/get_set_process_title fails on MacOS).
|
|
|
|
|
(James Lucas)
|
|
|
|
|
|
2023-05-26 02:26:28 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed build for the riscv64 architecture/GCC 12. (Daniil Gentili)
|
|
|
|
|
|
2023-06-13 05:58:34 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Fixed bug GH-11433 (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-06-18 19:33:15 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug GH-11455 (Segmentation fault with custom object date properties).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-05-23 05:50:06 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fixed bugs GH-11288 and GH-11289 and GH-11290 and GH-9142 (DOMExceptions
|
|
|
|
|
and segfaults with replaceWith). (nielsdos)
|
2023-01-07 02:51:49 +08:00
|
|
|
|
. Fixed bug GH-10234 (Setting DOMAttr::textContent results in an empty
|
|
|
|
|
attribute value). (nielsdos)
|
2023-05-29 22:53:00 +08:00
|
|
|
|
. Fix return value in stub file for DOMNodeList::item. (divinity76)
|
2023-05-30 00:36:02 +08:00
|
|
|
|
. Fix spec compliance error with '*' namespace for
|
|
|
|
|
DOMDocument::getElementsByTagNameNS. (nielsdos)
|
2023-05-30 04:29:50 +08:00
|
|
|
|
. Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.
|
|
|
|
|
(nielsdos)
|
2023-05-30 23:20:04 +08:00
|
|
|
|
. Fixed bug GH-11347 (Memory leak when calling a static method inside an
|
|
|
|
|
xpath query). (nielsdos)
|
2023-06-03 22:41:44 +08:00
|
|
|
|
. Fixed bug #67440 (append_node of a DOMDocumentFragment does not reconcile
|
|
|
|
|
namespaces). (nielsdos)
|
2023-06-03 23:54:37 +08:00
|
|
|
|
. Fixed bug #81642 (DOMChildNode::replaceWith() bug when replacing a node
|
|
|
|
|
with itself). (nielsdos)
|
2023-06-04 21:13:37 +08:00
|
|
|
|
. Fixed bug #77686 (Removed elements are still returned by getElementById).
|
|
|
|
|
(nielsdos)
|
2023-06-09 03:22:20 +08:00
|
|
|
|
. Fixed bug #70359 (print_r() on DOMAttr causes Segfault in
|
|
|
|
|
php_libxml_node_free_list()). (nielsdos)
|
|
|
|
|
. Fixed bug #78577 (Crash in DOMNameSpace debug info handlers). (nielsdos)
|
2023-06-11 04:48:16 +08:00
|
|
|
|
. Fix lifetime issue with getAttributeNodeNS(). (nielsdos)
|
2023-06-12 05:44:58 +08:00
|
|
|
|
. Fix "invalid state error" with cloned namespace declarations. (nielsdos)
|
2023-06-15 03:49:31 +08:00
|
|
|
|
. Fixed bug #55294 and #47530 and #47847 (various namespace reconciliation
|
|
|
|
|
issues). (nielsdos)
|
2023-06-18 02:52:52 +08:00
|
|
|
|
. Fixed bug #80332 (Completely broken array access functionality with
|
|
|
|
|
DOMNamedNodeMap). (nielsdos)
|
2023-05-23 05:50:06 +08:00
|
|
|
|
|
2023-05-24 01:50:09 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fix allocation loop in zend_shared_alloc_startup(). (nielsdos)
|
2023-05-24 23:23:27 +08:00
|
|
|
|
. Access violation on smm_shared_globals with ALLOC_FALLBACK. (KoudelkaB)
|
2023-05-29 22:39:58 +08:00
|
|
|
|
. Fixed bug GH-11336 (php still tries to unlock the shared memory ZendSem
|
|
|
|
|
with opcache.file_cache_only=1 but it was never locked). (nielsdos)
|
2023-05-24 01:50:09 +08:00
|
|
|
|
|
2023-04-28 09:02:49 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug GH-9356 Incomplete validation of IPv6 Address fields in
|
|
|
|
|
subjectAltNames (James Lucas, Jakub Zelenka).
|
|
|
|
|
|
2023-05-23 19:55:50 +08:00
|
|
|
|
- PCRE:
|
|
|
|
|
. Fix preg_replace_callback_array() pattern validation. (ilutov)
|
|
|
|
|
|
2023-06-09 05:52:49 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed intermittent segfault with pg_trace. (David Carlier)
|
|
|
|
|
|
2023-06-13 01:19:11 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fix cross-compilation check in phar generation for FreeBSD. (peter279k)
|
|
|
|
|
|
2023-05-29 22:16:01 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-11338 (SplFileInfo empty getBasename with more than one
|
|
|
|
|
slash). (nielsdos)
|
|
|
|
|
|
2023-05-23 18:10:27 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fix access on NULL pointer in array_merge_recursive(). (ilutov)
|
2023-05-23 15:54:54 +08:00
|
|
|
|
. Fix exception handling in array_multisort(). (ilutov)
|
2023-05-24 04:56:58 +08:00
|
|
|
|
|
2023-06-15 02:37:03 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fixed bug GH-11451 (Invalid associative array containing duplicate
|
|
|
|
|
keys). (nielsdos)
|
|
|
|
|
|
2023-05-25 11:41:36 +08:00
|
|
|
|
08 Jun 2023, PHP 8.2.7
|
2023-04-25 23:33:13 +08:00
|
|
|
|
|
2023-04-28 17:40:44 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-11152 (Unable to alias namespaces containing reserved class
|
|
|
|
|
names). (ilutov)
|
2023-05-03 03:21:01 +08:00
|
|
|
|
. Fixed bug GH-9068 (Conditional jump or move depends on uninitialised
|
|
|
|
|
value(s)). (nielsdos)
|
2023-05-05 18:00:32 +08:00
|
|
|
|
. Fixed bug GH-11189 (Exceeding memory limit in zend_hash_do_resize leaves
|
|
|
|
|
the array in an invalid state). (Bob)
|
2023-05-10 02:09:42 +08:00
|
|
|
|
. Fixed bug GH-11063 (Compilation error on old GCC versions). (ingamedeo)
|
2023-05-10 22:44:29 +08:00
|
|
|
|
. Fixed bug GH-11222 (foreach by-ref may jump over keys during a rehash).
|
|
|
|
|
(Bob)
|
2023-04-28 17:40:44 +08:00
|
|
|
|
|
2023-05-20 07:19:28 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug GH-11281 (DateTimeZone::getName() does not include seconds in
|
|
|
|
|
offset). (nielsdos)
|
|
|
|
|
|
2023-03-24 23:01:52 +08:00
|
|
|
|
- Exif:
|
|
|
|
|
. Fixed bug GH-10834 (exif_read_data() cannot read smaller stream wrapper
|
|
|
|
|
chunk sizes). (nielsdos)
|
|
|
|
|
|
2023-04-15 23:07:09 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-10461 (PHP-FPM segfault due to after free usage of
|
|
|
|
|
child->ev_std(out|err)). (Jakub Zelenka)
|
2023-04-10 21:15:57 +08:00
|
|
|
|
. Fixed bug #64539 (FPM status page: query_string not properly JSON encoded).
|
|
|
|
|
(Jakub Zelenka)
|
2023-04-16 22:54:45 +08:00
|
|
|
|
. Fixed memory leak for invalid primary script file handle. (Jakub Zelenka)
|
2023-04-15 23:07:09 +08:00
|
|
|
|
|
2023-05-07 00:23:24 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. Fixed bug GH-11180 (hash_file() appears to be restricted to 3 arguments).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-04-30 03:07:50 +08:00
|
|
|
|
- LibXML:
|
|
|
|
|
. Fixed bug GH-11160 (Few tests failed building with new libxml 2.11.0).
|
|
|
|
|
(nielsdos)
|
|
|
|
|
|
2023-05-10 20:12:27 +08:00
|
|
|
|
- MBString:
|
|
|
|
|
. Fix bug GH-11217 (Segfault in mb_strrpos / mb_strripos when using negative
|
|
|
|
|
offset and ASCII encoding). (ilutov)
|
|
|
|
|
|
2023-04-26 17:55:23 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-11134 (Incorrect match default branch optimization). (ilutov)
|
2023-05-01 07:54:23 +08:00
|
|
|
|
. Fixed too wide OR and AND range inference. (nielsdos)
|
2023-05-11 06:25:21 +08:00
|
|
|
|
. Fixed missing class redeclaration error with OPcache enabled. (ilutov)
|
2023-05-17 00:03:47 +08:00
|
|
|
|
. Fixed bug GH-11245 (In some specific cases SWITCH with one default
|
|
|
|
|
statement will cause segfault). (nielsdos)
|
2023-04-25 23:33:13 +08:00
|
|
|
|
|
2023-05-07 00:26:57 +08:00
|
|
|
|
- PCNTL:
|
|
|
|
|
. Fixed maximum argument count of pcntl_forkx(). (nielsdos)
|
|
|
|
|
|
2023-04-26 05:20:39 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed parameter parsing of pg_lo_export(). (kocsismate)
|
|
|
|
|
|
2023-05-16 00:31:57 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fixed bug GH-11099 (Generating phar.php during cross-compile can't be
|
|
|
|
|
done). (peter279k)
|
|
|
|
|
|
2023-05-09 05:37:12 +08:00
|
|
|
|
- Soap:
|
2023-06-07 06:10:06 +08:00
|
|
|
|
. Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random
|
2023-06-22 14:06:11 +08:00
|
|
|
|
bytes in HTTP Digest authentication for SOAP).
|
|
|
|
|
(CVE-2023-3247) (nielsdos, timwolla)
|
2023-05-09 05:37:12 +08:00
|
|
|
|
. Fixed bug GH-8426 (make test fail while soap extension build). (nielsdos)
|
|
|
|
|
|
2023-05-03 02:53:22 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-11178 (Segmentation fault in spl_array_it_get_current_data
|
|
|
|
|
(PHP 8.1.18)). (nielsdos)
|
|
|
|
|
|
2023-04-29 00:04:47 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fixed bug GH-11138 (move_uploaded_file() emits open_basedir warning for
|
|
|
|
|
source file). (ilutov)
|
2023-05-19 18:55:39 +08:00
|
|
|
|
. Fixed bug GH-11274 (POST/PATCH request switches to GET after a HTTP 308
|
|
|
|
|
redirect). (nielsdos)
|
2023-04-29 00:04:47 +08:00
|
|
|
|
|
2023-05-03 05:45:50 +08:00
|
|
|
|
- Streams:
|
2023-02-03 07:00:42 +08:00
|
|
|
|
. Fixed bug GH-10031 ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted
|
|
|
|
|
irregularly for last chunk of data). (nielsdos)
|
2023-05-03 05:45:50 +08:00
|
|
|
|
. Fixed bug GH-11175 (Stream Socket Timeout). (nielsdos)
|
|
|
|
|
. Fixed bug GH-11177 (ASAN UndefinedBehaviorSanitizer when timeout = -1
|
|
|
|
|
passed to stream_socket_accept/stream_socket_client). (nielsdos)
|
|
|
|
|
|
2023-04-25 23:33:13 +08:00
|
|
|
|
11 May 2023, PHP 8.2.6
|
2023-03-29 05:27:17 +08:00
|
|
|
|
|
2023-03-30 19:22:52 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fix inconsistent float negation in constant expressions. (ilutov)
|
2023-04-01 20:25:38 +08:00
|
|
|
|
. Fixed bug GH-8841 (php-cli core dump calling a badly formed function).
|
|
|
|
|
(nielsdos)
|
Fix GH-10737: PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c
The TSRM keeps a hashtable mapping the thread IDs to the thread resource pointers.
It's possible that the thread disappears without us knowing, and then another thread
gets spawned some time later with the same ID as the disappeared thread.
Note that since it's a new thread the TSRM key pointer and cached pointer will be NULL.
The Apache request handler `php_handler()` will try to fetch some fields from the SAPI globals.
It uses a lazy thread resource allocation by calling `ts_resource(0);`.
This allocates a thread resource and sets up the TSRM pointers if they haven't been set up yet.
At least, that's what's supposed to happen. But since we are in a situation where the thread ID
still has the resources of the *old* thread associated in the hashtable,
the loop in `ts_resource_ex` will find that thread resource and assume the thread has been setup
already. But this is not the case since this thread is actually a new thread, just reusing the ID
of the old one, without any relation whatsoever to the old thread.
Because of this assumption, the TSRM pointers will not be setup, leading to a
NULL pointer dereference when trying to access the SAPI globals.
We can easily detect this scenario: if we're in the fallback path, and the pointer is NULL,
and we're looking for our own thread resource, we know we're actually reusing a thread ID.
In that case, we'll free up the old thread resources gracefully (gracefully because
there might still be resources open like database connection which need to be
shut down cleanly). After freeing the resources, we'll create the new resources for
this thread as if the stale resources never existed in the first place.
From that point forward, it is as if that situation never occurred.
The fact that this situation happens isn't that bad because a child process containing
threads will eventually be respawned anyway by the SAPI, so the stale thread resources
won't remain forever.
Note that we can't simply assign our own TSRM pointers to the existing
thread resource for our ID, since it was actually from a different thread
(just with the same ID!). Furthermore, the dynamically loaded extensions
have their own pointer, which is only set when their constructor is
called, so we'd have to call their constructor anyway...
I also tried to call the dtor and then the ctor again for those resources
on the pre-existing thread resource to reuse storage, but that didn't work properly
because other code doesn't expect something like that to happen, which breaks assumptions,
and this in turn caused Valgrind to (rightfully) complain about memory bugs.
Note 2: I also had to fix a bug in the core globals destruction because it
always assumed that the thread destroying them was the owning thread,
which on TSRM shutdown isn't always the case. A similar bug was fixed
recently with the JIT globals.
Closes GH-10863.
2023-03-16 04:18:37 +08:00
|
|
|
|
. Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of
|
2023-04-12 04:17:47 +08:00
|
|
|
|
sapi/apache2handler/sapi_apache2.c). (nielsdos, ElliotNB)
|
2023-04-08 21:23:58 +08:00
|
|
|
|
. Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.). (nielsdos)
|
2023-04-20 21:41:50 +08:00
|
|
|
|
. Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=).
|
|
|
|
|
(ilutov)
|
2023-03-30 19:22:52 +08:00
|
|
|
|
|
2023-04-18 20:48:29 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug where the diff() method would not return the right result around
|
|
|
|
|
DST changeover for date/times associated with a timezone identifier. (Derick)
|
2023-04-21 18:29:56 +08:00
|
|
|
|
. Fixed out-of-range bug when converting to/from around the LONG_MIN unix
|
|
|
|
|
timestamp. (Derick)
|
2023-04-18 20:48:29 +08:00
|
|
|
|
|
2023-03-31 03:41:11 +08:00
|
|
|
|
- DOM:
|
|
|
|
|
. Fixed bug #80602 (Segfault when using DOMChildNode::before()).
|
|
|
|
|
(Nathan Freeman)
|
2023-03-31 03:28:09 +08:00
|
|
|
|
. Fixed incorrect error handling in dom_zvals_to_fragment(). (nielsdos)
|
2023-03-30 08:51:20 +08:00
|
|
|
|
|
2023-01-30 06:32:52 +08:00
|
|
|
|
- Exif:
|
|
|
|
|
. Fixed bug GH-9397 (exif read : warnings and errors : Potentially invalid
|
|
|
|
|
endianess, Illegal IFD size and Undefined index). (nielsdos)
|
|
|
|
|
|
2023-04-18 17:46:18 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed bug GH-11071 (TZData version not displayed anymore). (Remi)
|
|
|
|
|
|
2023-03-29 20:37:52 +08:00
|
|
|
|
- PCRE:
|
|
|
|
|
. Fixed bug GH-10968 (Segfault in preg_replace_callback_array()). (ilutov)
|
|
|
|
|
|
2023-03-31 06:27:30 +08:00
|
|
|
|
- Reflection:
|
|
|
|
|
. Fixed bug GH-10983 (State-dependant segfault in
|
|
|
|
|
ReflectionObject::getProperties). (nielsdos)
|
|
|
|
|
|
2023-03-25 02:18:28 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Handle indirect zvals and use up-to-date properties in
|
|
|
|
|
SplFixedArray::__serialize. (nielsdos)
|
|
|
|
|
|
2023-04-01 21:02:30 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fixed bug GH-10990 (mail() throws TypeError after iterating over
|
|
|
|
|
$additional_headers array by reference). (nielsdos)
|
2023-04-05 00:19:19 +08:00
|
|
|
|
. Fixed bug GH-9775 (Duplicates returned by array_unique when using enums).
|
|
|
|
|
(ilutov)
|
2023-04-01 21:02:30 +08:00
|
|
|
|
|
2023-03-19 03:38:01 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug GH-10406 (feof() behavior change for UNIX based socket
|
|
|
|
|
resources). (Jakub Zelenka)
|
2023-03-29 05:27:17 +08:00
|
|
|
|
|
2023-03-31 11:29:56 +08:00
|
|
|
|
13 Apr 2023, PHP 8.2.5
|
2023-02-28 23:15:20 +08:00
|
|
|
|
|
2023-03-03 18:46:16 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Added optional support for max_execution_time in ZTS/Linux builds
|
|
|
|
|
(Kévin Dunglas)
|
2023-02-27 20:47:57 +08:00
|
|
|
|
. Fixed use-after-free in recursive AST evaluation. (ilutov)
|
2023-03-05 06:22:05 +08:00
|
|
|
|
. Fixed bug GH-8646 (Memory leak PHP FPM 8.1). (nielsdos)
|
2023-03-04 06:58:26 +08:00
|
|
|
|
. Re-add some CTE functions that were removed from being CTE by a mistake.
|
|
|
|
|
(mvorisek)
|
2023-03-16 00:20:26 +08:00
|
|
|
|
. Remove CTE flag from array_diff_ukey(), which was added by mistake.
|
|
|
|
|
(mvorisek)
|
2023-03-09 05:49:41 +08:00
|
|
|
|
. Fixed bug GH-10801 (Named arguments in CTE functions cause a segfault).
|
|
|
|
|
(nielsdos)
|
2023-03-16 05:28:08 +08:00
|
|
|
|
. Fixed bug GH-8789 (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on
|
|
|
|
|
apache). (nielsdos)
|
|
|
|
|
. Fixed bug GH-10015 (zend_signal_handler_defer crashes on apache shutdown).
|
|
|
|
|
(nielsdos)
|
2023-03-18 02:35:58 +08:00
|
|
|
|
. Fixed bug GH-10810 (Fix NUL byte terminating Exception::__toString()).
|
|
|
|
|
(ilutov)
|
2023-03-24 03:30:56 +08:00
|
|
|
|
. Fix potential memory corruption when mixing __callStatic() and FFI. (ilutov)
|
2023-02-28 23:15:20 +08:00
|
|
|
|
|
2023-03-09 19:15:58 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed bug GH-10747 (Private and protected properties in serialized Date*
|
|
|
|
|
objects throw). (Derick)
|
|
|
|
|
|
2023-02-19 03:41:26 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-10611 (fpm_env_init_main leaks environ). (nielsdos)
|
2023-02-26 20:21:37 +08:00
|
|
|
|
. Destroy file_handle in fpm_main. (Jakub Zelenka, nielsdos)
|
2023-03-13 03:30:16 +08:00
|
|
|
|
. Fixed bug #74129 (Incorrect SCRIPT_NAME with apache ProxyPassMatch when
|
|
|
|
|
spaces are in path). (Jakub Zelenka)
|
2023-02-19 03:41:26 +08:00
|
|
|
|
|
2023-03-03 18:24:32 +08:00
|
|
|
|
- FTP:
|
|
|
|
|
. Propagate success status of ftp_close(). (nielsdos)
|
2023-02-07 05:53:29 +08:00
|
|
|
|
. Fixed bug GH-10521 (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).
|
|
|
|
|
(nielsdos)
|
2023-03-03 18:24:32 +08:00
|
|
|
|
|
2023-03-26 22:30:57 +08:00
|
|
|
|
- IMAP:
|
|
|
|
|
. Fix build failure with Clang 16. (orlitzky)
|
|
|
|
|
|
2023-03-23 04:49:37 +08:00
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed bug GH-8979 (Possible Memory Leak with SSL-enabled MySQL
|
|
|
|
|
connections). (nielsdos)
|
|
|
|
|
|
2023-03-01 03:14:46 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed build for macOS to cater with pkg-config settings. (David Carlier)
|
2023-03-07 04:06:54 +08:00
|
|
|
|
. Fixed bug GH-8065 (opcache.consistency_checks > 0 causes segfaults in
|
|
|
|
|
PHP >= 8.1.5 in fpm context). (nielsdos)
|
2023-03-01 03:14:46 +08:00
|
|
|
|
|
2023-03-05 03:10:10 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Add missing error checks on file writing functions. (nielsdos)
|
|
|
|
|
|
Fix GH-10908: Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland
The alignment of sqldata is in most cases only the basic alignment,
so the code type-puns it to a larger type, it *can* crash due to the
misaligned access. This is only an issue for types > 4 bytes because
every sensible system requires an alignment of at least 4 bytes for
allocated data.
Even though this patch uses memcpy, the compiler is smart enough to
optimise it to something more efficient, especially on x86.
This is just the usual approach to solve these alignment problems.
Actually, unaligned memory access is undefined behaviour, so even on x86
platforms, where the bug doesn't cause a crash, this can be problematic.
Furthermore, even though the issue talks about a 64-bit kernel and
32-bit userspace, this doesn't necessarily need to be the case to
trigger this crash.
Test was Co-authored-by: rvk01
Closes GH-10920.
2023-03-24 05:53:18 +08:00
|
|
|
|
- PDO Firebird:
|
|
|
|
|
. Fixed bug GH-10908 (Bus error with PDO Firebird on RPI with 64 bit kernel
|
|
|
|
|
and 32 bit userland). (nielsdos)
|
|
|
|
|
|
2023-03-04 07:04:02 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fixed bug GH-10766 (PharData archive created with Phar::Zip format does
|
|
|
|
|
not keep files metadata (datetime)). (nielsdos)
|
2023-03-03 22:17:21 +08:00
|
|
|
|
. Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().
|
|
|
|
|
(nielsdos)
|
2023-03-04 07:04:02 +08:00
|
|
|
|
|
2023-03-16 04:38:12 +08:00
|
|
|
|
- PDO ODBC:
|
|
|
|
|
. Fixed missing and inconsistent error checks on SQLAllocHandle. (nielsdos)
|
|
|
|
|
|
2023-03-17 03:28:07 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fixed typo in the array returned from pg_meta_data (extended mode).
|
|
|
|
|
(David Carlier)
|
|
|
|
|
|
2023-03-02 21:15:56 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed bug GH-10519 (Array Data Address Reference Issue). (Nathan Freeman)
|
2023-03-23 03:44:54 +08:00
|
|
|
|
. Fixed bug GH-10907 (Unable to serialize processed SplFixedArrays in
|
|
|
|
|
PHP 8.2.4). (nielsdos)
|
2023-03-25 23:26:18 +08:00
|
|
|
|
. Fixed bug GH-10844 (ArrayIterator allows modification of readonly props).
|
|
|
|
|
(ilutov)
|
2023-03-02 21:15:56 +08:00
|
|
|
|
|
2023-03-20 19:08:13 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fixed bug GH-10885 (stream_socket_server context leaks). (ilutov)
|
2023-03-20 05:11:09 +08:00
|
|
|
|
. Fixed bug GH-10052 (Browscap crashes PHP 8.1.12 on request shutdown
|
|
|
|
|
(apache2)). (nielsdos)
|
2023-03-24 22:19:58 +08:00
|
|
|
|
. Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter
|
|
|
|
|
and enclosure). (ilutov)
|
2023-03-26 03:56:17 +08:00
|
|
|
|
. Fixed undefined behaviour in unpack(). (nielsdos)
|
2023-03-20 19:08:13 +08:00
|
|
|
|
|
2023-02-28 23:15:20 +08:00
|
|
|
|
16 Mar 2023, PHP 8.2.4
|
2023-01-18 01:55:22 +08:00
|
|
|
|
|
2023-01-16 06:15:40 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed incorrect check condition in ZEND_YIELD. (nielsdos)
|
2023-01-25 06:19:21 +08:00
|
|
|
|
. Fixed incorrect check condition in type inference. (nielsdos)
|
2023-01-23 04:51:52 +08:00
|
|
|
|
. Fix incorrect check in zend_internal_call_should_throw(). (nielsdos)
|
2023-01-28 02:37:27 +08:00
|
|
|
|
. Fixed overflow check in OnUpdateMemoryConsumption. (nielsdos)
|
|
|
|
|
. Fixed bug GH-9916 (Entering shutdown sequence with a fiber suspended in a
|
|
|
|
|
Generator emits an unavoidable fatal error or crashes). (Arnaud)
|
2023-01-29 00:18:12 +08:00
|
|
|
|
. Fixed bug GH-10437 (Segfault/assertion when using fibers in shutdown
|
|
|
|
|
function after bailout). (trowski)
|
2023-02-15 03:27:29 +08:00
|
|
|
|
. Fixed SSA object type update for compound assignment opcodes. (nielsdos)
|
2023-02-18 00:36:43 +08:00
|
|
|
|
. Fixed language scanner generation build. (Daniel Black)
|
2023-02-24 23:53:20 +08:00
|
|
|
|
. Fixed zend_update_static_property() calling zend_update_static_property_ex()
|
|
|
|
|
misleadingly with the wrong return type. (nielsdos)
|
2023-02-25 03:44:47 +08:00
|
|
|
|
. Fix bug GH-10570 (Fixed unknown string hash on property fetch with integer
|
|
|
|
|
constant name). (nielsdos)
|
2023-02-25 20:42:45 +08:00
|
|
|
|
. Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle()
|
|
|
|
|
freeing dangling pointers on the handle as it was uninitialized. (nielsdos)
|
2023-01-25 06:19:21 +08:00
|
|
|
|
|
2023-02-07 19:16:03 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Fixed deprecation warning at compile time. (Max Kellermann)
|
2023-02-17 12:53:05 +08:00
|
|
|
|
. Fixed bug GH-10270 (Unable to return CURL_READFUNC_PAUSE in readfunc
|
|
|
|
|
callback). (Pierrick Charron)
|
2023-02-07 19:16:03 +08:00
|
|
|
|
|
2023-01-31 20:53:29 +08:00
|
|
|
|
- Date:
|
2023-01-31 20:59:03 +08:00
|
|
|
|
. Fix GH-10447 ('p' format specifier does not yield 'Z' for 00:00). (Derick)
|
2023-01-31 20:53:29 +08:00
|
|
|
|
. Fix GH-10152 (Custom properties of Date's child classes are not
|
|
|
|
|
serialised). (Derick)
|
2023-01-25 06:19:21 +08:00
|
|
|
|
|
|
|
|
|
- FFI:
|
|
|
|
|
. Fixed incorrect bitshifting and masking in ffi bitfield. (nielsdos)
|
2023-01-18 01:55:22 +08:00
|
|
|
|
|
2023-01-22 03:49:31 +08:00
|
|
|
|
- Fiber:
|
|
|
|
|
. Fixed assembly on alpine x86. (nielsdos)
|
2023-02-11 01:07:34 +08:00
|
|
|
|
. Fixed bug GH-10496 (segfault when garbage collector is invoked inside of
|
|
|
|
|
fiber). (Bob, Arnaud)
|
2023-01-22 03:49:31 +08:00
|
|
|
|
|
2023-01-15 00:55:16 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-10315 (FPM unknown child alert not valid). (Jakub Zelenka)
|
2023-01-21 05:17:27 +08:00
|
|
|
|
. Fixed bug GH-10385 (FPM successful config test early exit). (nielsdos)
|
2023-01-15 00:55:16 +08:00
|
|
|
|
|
2023-01-05 07:28:36 +08:00
|
|
|
|
- GMP:
|
|
|
|
|
. Properly implement GMP::__construct(). (nielsdos)
|
|
|
|
|
|
2023-02-22 00:13:25 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Fixed bug GH-10647 (Spoolchecker isSuspicious/areConfusable methods
|
|
|
|
|
error code's argument always returning NULL0. (Nathan Freeman)
|
|
|
|
|
|
2023-02-18 00:36:43 +08:00
|
|
|
|
- JSON:
|
|
|
|
|
. Fixed JSON scanner and parser generation build.
|
|
|
|
|
(Daniel Black, Jakub Zelenka)
|
|
|
|
|
|
2023-02-07 19:26:19 +08:00
|
|
|
|
- MBString:
|
|
|
|
|
. ext/mbstring: fix new_value length check. (Max Kellermann)
|
2023-02-20 04:43:34 +08:00
|
|
|
|
. Fix bug GH-10627 (mb_convert_encoding crashes PHP on Windows). (nielsdos)
|
2023-02-07 19:26:19 +08:00
|
|
|
|
|
2023-01-24 05:11:08 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fix incorrect page_size check. (nielsdos)
|
2023-03-02 08:09:36 +08:00
|
|
|
|
. Fix readonly modification check when using inc/dec operators on readonly
|
|
|
|
|
property with JIT. (ilutov)
|
2023-01-24 05:11:08 +08:00
|
|
|
|
|
2023-02-26 06:39:00 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed php_openssl_set_server_dh_param() DH params errors handling. (nielsdos)
|
|
|
|
|
|
2023-02-07 23:28:50 +08:00
|
|
|
|
- PDO OCI:
|
|
|
|
|
. Fixed bug #60994 (Reading a multibyte CLOB caps at 8192 chars).
|
|
|
|
|
(Michael Voříšek)
|
|
|
|
|
|
2023-02-28 02:44:42 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fixed bug GH-10715 (heap buffer overflow on --run option misuse). (nielsdos)
|
|
|
|
|
|
2023-02-23 13:35:39 +08:00
|
|
|
|
- PGSQL:
|
|
|
|
|
. Fix GH-10672 (pg_lo_open segfaults in the strict_types mode). (girgias)
|
|
|
|
|
|
2023-01-28 07:07:35 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fix incorrect check in phar tar parsing. (nielsdos)
|
|
|
|
|
|
2023-01-24 01:21:42 +08:00
|
|
|
|
- Random:
|
|
|
|
|
. Fix GH-10390 (Do not trust arc4random_buf() on glibc). (timwolla)
|
2023-01-25 02:42:53 +08:00
|
|
|
|
. Fix GH-10292 (Made the default value of the first param of srand() and
|
2023-01-25 02:00:41 +08:00
|
|
|
|
mt_srand() unknown). (kocsismate)
|
2023-01-24 01:21:42 +08:00
|
|
|
|
|
2023-02-20 06:48:39 +08:00
|
|
|
|
- Reflection:
|
|
|
|
|
. Fixed bug GH-10623 (Reflection::getClosureUsedVariables opcode fix with
|
|
|
|
|
variadic arguments). (nielsdos)
|
2023-02-23 02:39:10 +08:00
|
|
|
|
. Fix Segfault when using ReflectionFiber suspended by an internal function.
|
|
|
|
|
(danog)
|
2023-02-20 06:48:39 +08:00
|
|
|
|
|
2023-02-21 18:40:41 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed ps_files_cleanup_dir() on failure code paths with -1 instead of 0 as
|
|
|
|
|
the latter was considered success by callers. (nielsdos).
|
|
|
|
|
|
2022-12-30 23:09:48 +08:00
|
|
|
|
- Standard:
|
2023-02-11 07:18:50 +08:00
|
|
|
|
. Fixed bug GH-8086 (Introduce mail.mixed_lf_and_crlf INI). (Jakub Zelenka)
|
2023-01-25 02:00:41 +08:00
|
|
|
|
. Fixed bug GH-10292 (Made the default value of the first param of srand() and
|
|
|
|
|
mt_srand() unknown). (kocsismate)
|
2023-01-21 20:50:36 +08:00
|
|
|
|
. Fix incorrect check in cs_8559_5 in map_from_unicode(). (nielsdos)
|
2023-02-03 22:17:33 +08:00
|
|
|
|
. Fix bug GH-9697 for reset/end/next/prev() attempting to move pointer of
|
|
|
|
|
properties table for certain internal classes such as FFI classes
|
2023-02-21 22:29:02 +08:00
|
|
|
|
. Fix incorrect error check in browsecap for pcre2_match(). (nielsdos)
|
2022-12-30 23:09:48 +08:00
|
|
|
|
|
2023-02-11 07:18:50 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Fixed bug GH-10370 (File corruption in _php_stream_copy_to_stream_ex when
|
|
|
|
|
using copy_file_range). (nielsdos)
|
2023-02-11 23:28:51 +08:00
|
|
|
|
. Fixed bug GH-10548 (copy() fails on cifs mounts because of incorrect
|
|
|
|
|
copy_file_range() len). (nielsdos)
|
2023-02-11 07:18:50 +08:00
|
|
|
|
|
2023-02-08 22:52:40 +08:00
|
|
|
|
- Tidy:
|
|
|
|
|
. Fix memory leaks when attempting to open a non-existing file or a file over
|
|
|
|
|
4GB. (Girgias)
|
2023-02-21 22:29:02 +08:00
|
|
|
|
. Add missing error check on tidyLoadConfig. (nielsdos)
|
2023-02-08 22:52:40 +08:00
|
|
|
|
|
2023-02-23 02:36:37 +08:00
|
|
|
|
- Zlib:
|
|
|
|
|
. Fixed output_handler directive value's length which counted the string
|
|
|
|
|
terminator. (nieldos)
|
|
|
|
|
|
2023-02-14 19:00:20 +08:00
|
|
|
|
14 Feb 2023, PHP 8.2.3
|
2023-02-14 03:16:07 +08:00
|
|
|
|
|
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug #81744 (Password_verify() always return true with some hash).
|
|
|
|
|
(CVE-2023-0567). (Tim Düsterhus)
|
|
|
|
|
. Fixed bug #81746 (1-byte array overrun in common path resolve code).
|
|
|
|
|
(CVE-2023-0568). (Niels Dossche)
|
|
|
|
|
|
2023-02-14 18:46:48 +08:00
|
|
|
|
- SAPI:
|
2023-02-14 18:23:59 +08:00
|
|
|
|
. Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart
|
2023-02-14 18:33:56 +08:00
|
|
|
|
request body). (CVE-2023-0662) (Jakub Zelenka)
|
2022-12-08 01:29:37 +08:00
|
|
|
|
|
2023-01-18 01:55:22 +08:00
|
|
|
|
02 Feb 2023, PHP 8.2.2
|
2022-12-14 08:29:29 +08:00
|
|
|
|
|
2023-01-02 22:34:03 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-10200 (zif_get_object_vars:
|
|
|
|
|
Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed). (nielsdos)
|
2023-01-07 20:49:24 +08:00
|
|
|
|
. Fix GH-10251 (Assertion `(flag & (1<<3)) == 0' failed). (nielsdos)
|
2023-01-13 19:29:51 +08:00
|
|
|
|
. Fix GH-10240 (Assertion failure when adding more than 2**30 elements to an
|
|
|
|
|
unpacked array). (Arnaud)
|
|
|
|
|
. Fix GH-9735 (Fiber stack variables do not participate in cycle collector).
|
|
|
|
|
(Arnaud)
|
2022-12-21 19:23:58 +08:00
|
|
|
|
. Fix GH-9675 (Broken run_time_cache init for internal enum methods).
|
|
|
|
|
(Petar Obradović, Bob)
|
2023-01-20 23:54:49 +08:00
|
|
|
|
. Fix GH-10248 (Assertion `!(zval_get_type(&(*(property))) == 10)' failed).
|
|
|
|
|
(nielsdos)
|
2023-01-02 22:34:03 +08:00
|
|
|
|
|
2022-11-30 05:47:53 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug #77106 (Missing separator in FPM FastCGI errors). (Jakub Zelenka)
|
2022-12-23 02:32:16 +08:00
|
|
|
|
. Fixed bug GH-9981 (FPM does not reset fastcgi.error_header).
|
|
|
|
|
(Jakub Zelenka)
|
2022-12-24 03:24:57 +08:00
|
|
|
|
. Fixed bug #68591 (Configuration test does not perform UID lookups).
|
|
|
|
|
(Jakub Zelenka)
|
2023-01-12 19:55:14 +08:00
|
|
|
|
. Fixed memory leak when running FPM config test. (Jakub Zelenka)
|
2023-01-13 18:31:01 +08:00
|
|
|
|
. Fixed bug #67244 (Wrong owner:group for listening unix socket).
|
|
|
|
|
(Jakub Zelenka)
|
2022-11-30 05:47:53 +08:00
|
|
|
|
|
2023-01-17 05:33:06 +08:00
|
|
|
|
- Hash:
|
|
|
|
|
. Handle exceptions from __toString in XXH3's initialization (nielsdos)
|
|
|
|
|
|
2022-12-16 19:16:38 +08:00
|
|
|
|
- LDAP:
|
|
|
|
|
. Fixed bug GH-10112 (LDAP\Connection::__construct() refers to ldap_create()).
|
|
|
|
|
(cmb)
|
2022-12-14 08:29:29 +08:00
|
|
|
|
|
2022-12-21 21:55:53 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).
|
2022-12-17 23:02:55 +08:00
|
|
|
|
. Fix access to uninitialized variable in accel_preload(). (nielsdos)
|
2022-12-22 20:02:52 +08:00
|
|
|
|
. Fix zend_jit_find_trace() crashes. (Max Kellermann)
|
2022-12-20 05:35:22 +08:00
|
|
|
|
. Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit. (Max Kellermann)
|
2022-12-21 21:55:53 +08:00
|
|
|
|
|
2023-01-15 22:05:36 +08:00
|
|
|
|
- Phar:
|
|
|
|
|
. Fix wrong flags check for compression method in phar_object.c (nielsdos)
|
|
|
|
|
|
2022-12-23 04:03:45 +08:00
|
|
|
|
- PHPDBG:
|
|
|
|
|
. Fix undefined behaviour in phpdbg_load_module_or_extension(). (nielsdos)
|
2022-12-27 04:43:53 +08:00
|
|
|
|
. Fix NULL pointer dereference in phpdbg_create_conditional_breal(). (nielsdos)
|
2023-01-06 05:11:15 +08:00
|
|
|
|
. Fix GH-9710: phpdbg memory leaks by option "-h" (nielsdos)
|
2023-01-17 06:09:58 +08:00
|
|
|
|
. Fix phpdbg segmentation fault in case of malformed input (nielsdos)
|
2022-12-23 04:03:45 +08:00
|
|
|
|
|
2022-12-30 23:11:09 +08:00
|
|
|
|
- Posix:
|
|
|
|
|
. Fix memory leak in posix_ttyname() (girgias)
|
|
|
|
|
|
2023-01-07 21:03:13 +08:00
|
|
|
|
- Random:
|
|
|
|
|
. Fixed bug GH-10247 (Theoretical file descriptor leak for /dev/urandom). (timwolla)
|
|
|
|
|
|
2022-12-30 21:31:40 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. Fix GH-10187 (Segfault in stripslashes() with arm64). (nielsdos)
|
2023-01-13 02:55:54 +08:00
|
|
|
|
. Fixed bug GH-10214 (Incomplete validation of object syntax during
|
|
|
|
|
unserialize()). (timwolla)
|
2023-01-15 04:01:22 +08:00
|
|
|
|
. Fix substr_replace with slots in repl_ht being UNDEF. (nielsdos)
|
2022-12-30 21:31:40 +08:00
|
|
|
|
|
2023-01-15 06:38:38 +08:00
|
|
|
|
- XMLWriter
|
|
|
|
|
. Fix missing check for xmlTextWriterEndElement (nielsdos)
|
2022-12-30 21:31:40 +08:00
|
|
|
|
|
2022-12-14 08:29:29 +08:00
|
|
|
|
05 Jan 2023, PHP 8.2.1
|
2022-11-08 14:24:02 +08:00
|
|
|
|
|
2022-11-09 00:13:35 +08:00
|
|
|
|
- Core:
|
|
|
|
|
. Fixed bug GH-9905 (constant() behaves inconsistent when class is undefined).
|
|
|
|
|
(cmb)
|
2022-11-08 13:42:39 +08:00
|
|
|
|
. Fixed bug GH-9918 (License information for xxHash is not included in
|
|
|
|
|
README.REDIST.BINS file). (Akama Hitoshi)
|
2022-11-05 02:39:07 +08:00
|
|
|
|
. Fixed bug GH-9890 (OpenSSL legacy providers not available on Windows). (cmb)
|
2022-11-14 22:16:31 +08:00
|
|
|
|
. Fixed bug GH-9650 (Can't initialize heap: [0x000001e7]). (Michael Voříšek)
|
2022-11-15 22:37:32 +08:00
|
|
|
|
. Fixed potentially undefined behavior in Windows ftok(3) emulation. (cmb)
|
2022-11-17 23:32:33 +08:00
|
|
|
|
. Fixed GH-9769 (Misleading error message for unpacking of objects). (jhdxr)
|
2022-11-09 00:57:34 +08:00
|
|
|
|
|
2022-12-13 22:22:39 +08:00
|
|
|
|
- Apache:
|
|
|
|
|
. Fixed bug GH-9949 (Partial content on incomplete POST request). (cmb)
|
2022-11-30 23:47:43 +08:00
|
|
|
|
|
2022-11-23 02:47:24 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Fixed bug GH-9959 (Solaris port event mechanism is still broken after bug
|
|
|
|
|
#66694). (Petr Sumbera)
|
|
|
|
|
. Fixed bug #68207 (Setting fastcgi.error_header can result in a WARNING).
|
|
|
|
|
(Jakub Zelenka)
|
2022-11-22 05:03:44 +08:00
|
|
|
|
. Fixed bug #80669 (FPM numeric user fails to set groups). (Jakub Zelenka)
|
2022-08-28 21:58:42 +08:00
|
|
|
|
. Fixed bug GH-8517 (Random crash of FPM master process in
|
|
|
|
|
fpm_stdio_child_said). (Jakub Zelenka)
|
2022-11-23 02:47:24 +08:00
|
|
|
|
|
2022-12-13 17:03:11 +08:00
|
|
|
|
- Imap:
|
|
|
|
|
. Fixed bug GH-10051 (IMAP: there's no way to check if a IMAP\Connection is
|
|
|
|
|
still open). (Girgias)
|
|
|
|
|
|
2022-11-13 20:40:45 +08:00
|
|
|
|
- MBString:
|
|
|
|
|
. Fixed bug GH-9535 (The behavior of mb_strcut in mbstring has been changed in
|
|
|
|
|
PHP8.1). (Nathan Freeman)
|
|
|
|
|
|
2022-11-25 21:37:43 +08:00
|
|
|
|
- Opcache:
|
|
|
|
|
. Fixed bug GH-9968 (Segmentation Fault during OPCache Preload).
|
|
|
|
|
(Arnaud, michdingpayc)
|
|
|
|
|
|
2022-11-25 02:29:44 +08:00
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Fixed bug GH-9997 (OpenSSL engine clean up segfault). (Jakub Zelenka)
|
2022-11-25 20:49:12 +08:00
|
|
|
|
. Fixed bug GH-9064 (PHP fails to build if openssl was built with --no-ec).
|
|
|
|
|
(Jakub Zelenka)
|
2022-11-25 22:02:03 +08:00
|
|
|
|
. Fixed bug GH-10000 (OpenSSL test failures when OpenSSL compiled with
|
|
|
|
|
no-dsa). (Jakub Zelenka)
|
2022-11-25 02:29:44 +08:00
|
|
|
|
|
2022-11-05 02:39:07 +08:00
|
|
|
|
- Pcntl:
|
2022-11-13 18:07:46 +08:00
|
|
|
|
. Fixed bug GH-9298 (Signal handler called after rshutdown leads to crash).
|
|
|
|
|
(Erki Aring)
|
|
|
|
|
|
2022-11-29 22:32:46 +08:00
|
|
|
|
- PDO_Firebird:
|
|
|
|
|
. Fixed bug GH-9971 (Incorrect NUMERIC value returned from PDO_Firebird).
|
|
|
|
|
(cmb)
|
|
|
|
|
|
2023-01-04 03:27:16 +08:00
|
|
|
|
- PDO/SQLite:
|
|
|
|
|
. Fixed bug #81740 (PDO::quote() may return unquoted string). (CVE-2022-31631)
|
|
|
|
|
(cmb)
|
|
|
|
|
|
2022-11-15 20:27:44 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed GH-9932 (session name silently fails with . and [). (David Carlier)
|
|
|
|
|
|
2022-11-09 23:24:30 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Fixed GH-9883 (SplFileObject::__toString() reads next line). (Girgias)
|
2022-12-02 09:23:48 +08:00
|
|
|
|
. Fixed GH-10011 (Trampoline autoloader will get reregistered and cannot be
|
|
|
|
|
unregistered). (Girgias)
|
2022-11-09 23:24:30 +08:00
|
|
|
|
|
2022-12-05 23:26:02 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Fixed bug #81742 (open_basedir bypass in SQLite3 by using file URI). (cmb)
|
|
|
|
|
|
2022-12-13 22:48:58 +08:00
|
|
|
|
- TSRM:
|
|
|
|
|
. Fixed Windows shmget() wrt. IPC_PRIVATE. (Tyson Andre)
|
|
|
|
|
|
2022-11-23 10:55:35 +08:00
|
|
|
|
08 Dec 2022, PHP 8.2.0
|
2022-07-06 00:09:39 +08:00
|
|
|
|
|
2022-07-10 21:18:51 +08:00
|
|
|
|
- CLI:
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug #81496 (Server logs incorrect request method). (lauri)
|
2022-07-10 21:18:51 +08:00
|
|
|
|
. Updated the mime-type table for the builtin-server. (Ayesh Karunaratne)
|
2022-06-20 21:14:29 +08:00
|
|
|
|
. Fixed potential overflow for the builtin server via the
|
|
|
|
|
PHP_CLI_SERVER_WORKERS environment variable. (yiyuaner)
|
|
|
|
|
. Fixed GH-8575 by changing STDOUT, STDERR and STDIN to not close on resource
|
|
|
|
|
destruction. (Jakub Zelenka)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Implement built-in web server responding without body to HEAD request on
|
|
|
|
|
a static resource. (Vedran Miletic, Marin Martuslovic)
|
|
|
|
|
. Implement built-in web server responding with HTTP status 405 to
|
|
|
|
|
DELETE/PUT/PATCH request on a static resource.
|
|
|
|
|
(Vedran Miletic, Marin Martuslovic)
|
|
|
|
|
. Fixed bug GH-9709 (Null pointer dereference with -w/-s options).
|
|
|
|
|
(Adam Saponara)
|
2022-07-08 20:47:46 +08:00
|
|
|
|
|
2022-06-21 23:30:42 +08:00
|
|
|
|
- COM:
|
|
|
|
|
. Fixed bug GH-8750 (Can not create VT_ERROR variant type). (cmb)
|
|
|
|
|
|
2022-04-26 16:58:22 +08:00
|
|
|
|
- Core:
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
|
|
|
|
|
. Fixed bug GH-7771 (Fix filename/lineno of constant expressions). (ilutov)
|
|
|
|
|
. Fixed bug GH-7792 (Improve class type in error messages). (ilutov)
|
|
|
|
|
. Support huge pages on MacOS. (David CARLIER)
|
2022-06-09 16:48:52 +08:00
|
|
|
|
. Fixed bug GH-8655 (Casting an object to array does not unwrap refcount=1
|
|
|
|
|
references). (Nicolas Grekas)
|
2022-06-02 23:15:55 +08:00
|
|
|
|
. Fixed bug GH-8661 (Nullsafe in coalesce triggers undefined variable
|
|
|
|
|
warning). (ilutov)
|
2022-03-11 05:35:01 +08:00
|
|
|
|
. Fixed bug GH-7821 and GH-8418 (Allow arbitrary const expressions in backed
|
|
|
|
|
enums). (ilutov)
|
2022-06-17 22:20:28 +08:00
|
|
|
|
. Fixed bug GH-8810 (Incorrect lineno in backtrace of multi-line function
|
|
|
|
|
calls). (ilutov)
|
2022-04-29 11:22:53 +08:00
|
|
|
|
. Optimised code path for newly created file with the stream plain wrapper. (Max Kellermann)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Uses safe_perealloc instead of perealloc for the
|
|
|
|
|
ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Reduced the memory footprint of strings returned by var_export(),
|
|
|
|
|
json_encode(), serialize(), iconv_*(), mb_ereg*(), session_create_id(),
|
|
|
|
|
http_build_query(), strstr(), Reflection*::__toString(). (Arnaud)
|
|
|
|
|
. Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
|
|
|
|
|
(Tobias Bachert)
|
|
|
|
|
. Added error_log_mode ini setting. (Mikhail Galanin)
|
|
|
|
|
. Updated request startup messages. (Eric Norris)
|
|
|
|
|
. Fixed bug GH-7900 (Arrow function with never return type compile-time
|
|
|
|
|
errors). (ilutov)
|
|
|
|
|
. Fixed incorrect double to long casting in latest clang. (zeriyoshi)
|
|
|
|
|
. Added support for defining constants in traits. (sj-i)
|
|
|
|
|
. Stop incorrectly emitting false positive deprecation notice alongside
|
|
|
|
|
unsupported syntax fatal error for `"{$g{'h'}}"`. (TysonAndre)
|
|
|
|
|
. Fix unexpected deprecated dynamic property warning, which occurred when
|
|
|
|
|
exit() in finally block after an exception was thrown without catching.
|
|
|
|
|
(Twosee)
|
|
|
|
|
. Fixed bug GH-9323 (Crash in ZEND_RETURN/GC/zend_call_function)
|
|
|
|
|
(Tim Starling)
|
|
|
|
|
. Fixed bug GH-9227 (Trailing dots and spaces in filenames are ignored).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Fixed bug GH-9285 (Traits cannot be used in readonly classes).
|
|
|
|
|
(kocsismate)
|
|
|
|
|
. Fixed bug GH-9186 (@strict-properties can be bypassed using
|
|
|
|
|
unserialization). (kocsismate)
|
|
|
|
|
. Fixed bug GH-9500 (Using dnf type with parentheses after readonly keyword
|
|
|
|
|
results in a parse error). (ilutov)
|
|
|
|
|
. Fixed bug GH-9516 ((A&B)|D as a param should allow AB or D. Not just A).
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed observer class notify with Opcache file_cache_only=1. (ilutov)
|
|
|
|
|
. Fixes segfault with Fiber on FreeBSD i386 architecture. (David Carlier)
|
|
|
|
|
. Fixed bug GH-9655 (Pure intersection types cannot be implicitly nullable)
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed bug GH-9589 (dl() segfaults when module is already loaded). (cmb,
|
|
|
|
|
Arnaud)
|
|
|
|
|
. Fixed bug GH-9752 (Generator crashes when interrupted during argument
|
|
|
|
|
evaluation with extra named params). (Arnaud)
|
|
|
|
|
. Fixed bug GH-9801 (Generator crashes when memory limit is exceeded during
|
|
|
|
|
initialization). (Arnaud)
|
|
|
|
|
. Fixed a bug with preloaded enums possibly segfaulting. (Bob)
|
|
|
|
|
. Fixed bug GH-9823 (Don’t reset func in zend_closure_internal_handler).
|
|
|
|
|
(Florian Sowade)
|
|
|
|
|
. Fixed potential NULL pointer dereference Windows shm*() functions. (cmb)
|
|
|
|
|
. Fix target validation for internal attributes with constructor property
|
|
|
|
|
promotion. (kooldev)
|
|
|
|
|
. Fixed bug GH-9750 (Generator memory leak when interrupted during argument
|
|
|
|
|
evaluation. (Arnaud)
|
2021-09-29 05:28:33 +08:00
|
|
|
|
|
2021-12-24 18:14:48 +08:00
|
|
|
|
- Curl:
|
|
|
|
|
. Added support for CURLOPT_XFERINFOFUNCTION. (David Carlier)
|
2022-05-15 19:01:50 +08:00
|
|
|
|
. Added support for CURLOPT_MAXFILESIZE_LARGE. (David Carlier)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Added new constants from cURL 7.62 to 7.80. (Pierrick)
|
|
|
|
|
. New function curl_upkeep(). (Pierrick)
|
2021-12-24 18:14:48 +08:00
|
|
|
|
|
2022-05-05 19:15:44 +08:00
|
|
|
|
- Date:
|
|
|
|
|
. Fixed GH-8458 (DateInterval::createFromDateString does not throw if
|
|
|
|
|
non-relative items are present). (Derick)
|
2022-05-20 18:18:49 +08:00
|
|
|
|
. Fixed bug #52015 (Allow including end date in DatePeriod iterations)
|
|
|
|
|
(Daniel Egeberg, Derick)
|
2021-12-29 23:38:45 +08:00
|
|
|
|
. idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO
|
|
|
|
|
Year). (Pavel Djundik)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-8730 (DateTime::diff miscalculation is same time zone of
|
|
|
|
|
different type). (Derick)
|
|
|
|
|
. Fixed bug GH-8964 (DateTime object comparison after applying delta less
|
|
|
|
|
than 1 second). (Derick)
|
|
|
|
|
. Fixed bug GH-9106: (DateInterval 1.5s added to DateTimeInterface is rounded
|
|
|
|
|
down since PHP 8.1.0). (Derick)
|
|
|
|
|
. Fixed bug #75035 (Datetime fails to unserialize "extreme" dates).
|
|
|
|
|
(Derick)
|
|
|
|
|
. Fixed bug #80483 (DateTime Object with 5-digit year can't unserialized).
|
|
|
|
|
(Derick)
|
|
|
|
|
. Fixed bug #81263 (Wrong result from DateTimeImmutable::diff). (Derick)
|
|
|
|
|
. Fixed bug GH-9431 (DateTime::getLastErrors() not returning false when no
|
|
|
|
|
errors/warnings). (Derick)
|
|
|
|
|
. Fixed bug with parsing large negative numbers with the @ notation. (Derick)
|
|
|
|
|
|
|
|
|
|
- DBA:
|
|
|
|
|
. Fixed LMDB driver hanging when attempting to delete a non-existing key
|
|
|
|
|
(Girgias)
|
|
|
|
|
. Fixed LMDB driver memory leak on DB creation failure (Girgias)
|
|
|
|
|
. Fixed GH-8856 (dba: lmdb: allow to override the MDB_NOSUBDIR flag). (Girgias)
|
|
|
|
|
|
|
|
|
|
- FFI:
|
|
|
|
|
. Fixed bug GH-9090 (Support assigning function pointers in FFI). (Adam
|
|
|
|
|
Saponara)
|
|
|
|
|
|
|
|
|
|
- Fileinfo:
|
|
|
|
|
. Fixed bug GH-8805 (finfo returns wrong mime type for woff/woff2 files).
|
|
|
|
|
(Anatol)
|
|
|
|
|
|
|
|
|
|
- Filter:
|
|
|
|
|
. Added FILTER_FLAG_GLOBAL_RANGE to filter Global IPs. (vnsavage)
|
2022-05-05 19:15:44 +08:00
|
|
|
|
|
2022-03-19 23:16:07 +08:00
|
|
|
|
- FPM:
|
|
|
|
|
. Emit error for invalid port setting. (David Carlier)
|
2021-11-13 02:38:55 +08:00
|
|
|
|
. Added extra check for FPM proc dumpable on SELinux based systems.
|
|
|
|
|
(David Carlier)
|
2022-04-09 22:08:41 +08:00
|
|
|
|
. Added support for listening queue on macOS. (David Carlier)
|
2022-04-23 20:25:08 +08:00
|
|
|
|
. Changed default for listen.backlog on Linux to -1. (Cristian Rodríguez)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Added listen.setfib pool option to set route FIB on FreeBSD. (David Carlier)
|
|
|
|
|
. Added access.suppress_path pool option to filter access log entries.
|
|
|
|
|
(Mark Gallagher)
|
|
|
|
|
. Fixed on fpm scoreboard occasional warning on acquisition failure.
|
|
|
|
|
(Felix Wiedemann)
|
|
|
|
|
. Fixed bug GH-9754 (SaltStack (using Python subprocess) hangs when running
|
|
|
|
|
php-fpm 8.1.11). (Jakub Zelenka)
|
2022-03-19 23:16:07 +08:00
|
|
|
|
|
2022-03-28 10:48:30 +08:00
|
|
|
|
- FTP:
|
|
|
|
|
. Fix datetime format string to follow POSIX spec in ftp_mdtm(). (Jihwan Kim)
|
|
|
|
|
|
2022-11-09 02:26:35 +08:00
|
|
|
|
- GD:
|
|
|
|
|
. Fixed bug #81739: OOB read due to insufficient input validation in
|
|
|
|
|
imageloadfont(). (CVE-2022-31630) (cmb)
|
|
|
|
|
|
|
|
|
|
- GMP:
|
|
|
|
|
. Fixed bug GH-9308 (GMP throws the wrong error when a GMP object is passed
|
|
|
|
|
to gmp_init()). (Girgias)
|
|
|
|
|
|
|
|
|
|
- Hash:
|
|
|
|
|
. Fixed bug #81738: buffer overflow in hash_update() on long parameter.
|
|
|
|
|
(CVE-2022-37454) (nicky at mouha dot be)
|
2021-12-01 06:19:38 +08:00
|
|
|
|
. Fixed bug GH-10077: Fix compilation on RHEL 7 ppc64le. (Mattias Ellert)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
|
2021-11-11 14:26:04 +08:00
|
|
|
|
- Intl:
|
|
|
|
|
. Update all grandfathered language tags with preferred values
|
2022-01-20 18:30:35 +08:00
|
|
|
|
. Fixed GH-7939 (Cannot unserialize IntlTimeZone objects). (cmb)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed build for ICU 69.x and onwards. (David Carlier)
|
|
|
|
|
. Declared Transliterator::$id as readonly to unlock subclassing it. (Nicolas
|
|
|
|
|
Grekas)
|
|
|
|
|
. Fixed bug GH-9421 (Incorrect argument number for ValueError in NumberFormatter).
|
|
|
|
|
(Girgias)
|
|
|
|
|
|
|
|
|
|
- MBString:
|
|
|
|
|
. Fixed bug GH-9248 (Segmentation fault in mb_strimwidth()). (cmb)
|
|
|
|
|
|
|
|
|
|
- mysqli:
|
|
|
|
|
. Fixed bug GH-9841 (mysqli_query throws warning despite using
|
|
|
|
|
silenced error mode). (Kamil Tekiela)
|
|
|
|
|
|
|
|
|
|
- MySQLnd:
|
|
|
|
|
. Fixed potential heap corruption due to alignment mismatch. (cmb)
|
2021-11-11 14:26:04 +08:00
|
|
|
|
|
2021-11-12 14:59:22 +08:00
|
|
|
|
- OCI8:
|
|
|
|
|
. Added oci8.prefetch_lob_size directive to tune LOB query performance
|
2021-12-12 19:31:07 +08:00
|
|
|
|
. Support for building against Oracle Client libraries 10.1 and 10.2 has been
|
|
|
|
|
dropped. Oracle Client libraries 11.2 or newer are now required.
|
2021-11-12 14:59:22 +08:00
|
|
|
|
|
2022-04-22 23:04:47 +08:00
|
|
|
|
- ODBC:
|
2022-05-27 23:00:16 +08:00
|
|
|
|
. Fixed bug GH-8300 (User input not escaped when building connection string).
|
|
|
|
|
(Calvin Buckley)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin
|
|
|
|
|
Buckley)
|
|
|
|
|
|
|
|
|
|
- Opcache:
|
|
|
|
|
. Allocate JIT buffer close to PHP .text segemnt to allow using direct
|
|
|
|
|
IP-relative calls and jumps.
|
|
|
|
|
(Su Tao, Wang Xue, Chen Hu, Lizhen Lizhen, Dmitry)
|
|
|
|
|
. Added initial support for JIT performance profiling generation
|
|
|
|
|
for macOs Instrument. (David Carlier)
|
|
|
|
|
. Fixed bug GH-8030 (Segfault with JIT and large match/switch statements).
|
|
|
|
|
(Arnaud)
|
|
|
|
|
. Added JIT support improvement for macOs for segments and executable permission
|
|
|
|
|
bit handling. (David Carlier)
|
|
|
|
|
. Added JIT buffer allocation near the .text section on FreeNSD. (David Carlier)
|
|
|
|
|
. Fixed bug GH-9371 (Crash with JIT on mac arm64)
|
|
|
|
|
(jdp1024/David Carlier)
|
|
|
|
|
. Fixed bug GH-9259 (opcache.interned_strings_buffer setting integer
|
|
|
|
|
overflow). (Arnaud)
|
|
|
|
|
. Added indirect call reduction for jit on x86 architectures. (wxue1)
|
|
|
|
|
|
|
|
|
|
- OPcache:
|
|
|
|
|
. Fixed bug GH-9164 (Segfault in zend_accel_class_hash_copy).
|
|
|
|
|
(Arnaud, Sergei Turchanov)
|
|
|
|
|
|
|
|
|
|
- OpenSSL:
|
|
|
|
|
. Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT. (Max Kellermann)
|
|
|
|
|
. Fixed bug GH-9310 (SSL local_cert and local_pk do not respect
|
|
|
|
|
open_basedir). (Jakub Zelenka)
|
|
|
|
|
. Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like
|
|
|
|
|
AEAD). (Jakub Zelenka)
|
|
|
|
|
. Added openssl_cipher_key_length function. (Jakub Zelenka)
|
|
|
|
|
. Fixed bug GH-9517 (Compilation error openssl extension related to PR
|
|
|
|
|
GH-9366). (Jakub Zelenka)
|
|
|
|
|
. Fixed missing clean up of OpenSSL engine list - attempt to fix GH-8620.
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
. Fixed bug GH-8430 (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does
|
|
|
|
|
not build). (Jakub Zelenka, fsbruva)
|
|
|
|
|
|
|
|
|
|
- PCNTL:
|
|
|
|
|
. Fixed pcntl_(get|set)priority error handling for MacOS. (Juan Morales)
|
|
|
|
|
|
|
|
|
|
- PCRE:
|
|
|
|
|
. Implemented FR #77726 (Allow null character in regex patterns). (tobil4sk)
|
|
|
|
|
. Updated bundled libpcre to 10.40. (cmb)
|
|
|
|
|
|
|
|
|
|
- PDO:
|
|
|
|
|
. Fixed bug GH-9818 (Initialize run time cache in PDO methods).
|
|
|
|
|
(Florian Sowade)
|
|
|
|
|
|
|
|
|
|
- PDO_Firebird:
|
|
|
|
|
. Fixed bug GH-8576 (Bad interpretation of length when char is UTF-8). (cmb)
|
2022-04-22 23:04:47 +08:00
|
|
|
|
|
2022-02-18 02:40:56 +08:00
|
|
|
|
- PDO_ODBC:
|
|
|
|
|
. Fixed bug #80909 (crash with persistent connections in PDO_ODBC). (Calvin
|
|
|
|
|
Buckley)
|
2022-05-27 23:00:16 +08:00
|
|
|
|
. Fixed bug GH-8300 (User input not escaped when building connection string).
|
|
|
|
|
(Calvin Buckley)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-9347 (Current ODBC liveness checks may be inadequate). (Calvin
|
|
|
|
|
Buckley)
|
|
|
|
|
. Fixed bug GH-9372 (HY010 when binding overlong parameter). (cmb)
|
|
|
|
|
|
|
|
|
|
- PDO_PGSQL:
|
|
|
|
|
. Fixed bug GH-9411 (PgSQL large object resource is incorrectly closed).
|
|
|
|
|
(Yurunsoft)
|
|
|
|
|
|
|
|
|
|
- Random:
|
|
|
|
|
. Added new random extension. (Go Kudo)
|
|
|
|
|
. Fixed bug GH-9067 (random extension is not thread safe). (cmb)
|
|
|
|
|
. Fixed bug GH-9055 (segmentation fault if user engine throws). (timwolla)
|
|
|
|
|
. Fixed bug GH-9066 (signed integer overflow). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9083 (undefined behavior during shifting). (timwolla)
|
|
|
|
|
. Fixed bug GH-9088, GH-9056 (incorrect expansion of bytes when
|
|
|
|
|
generating uniform integers within a given range). (timwolla)
|
|
|
|
|
. Fixed bug GH-9089 (Fix memory leak on Randomizer::__construct()
|
|
|
|
|
call twice). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9212 (PcgOneseq128XslRr64::jump() should not allow negative
|
|
|
|
|
$advance). (Anton Smirnov)
|
|
|
|
|
. Changed Mt19937 to throw a ValueError instead of InvalidArgumentException
|
|
|
|
|
for invalid $mode. (timwolla)
|
|
|
|
|
. Splitted Random\Randomizer::getInt() (without arguments) to
|
|
|
|
|
Random\Randomizer::nextInt(). (zeriyoshi)
|
|
|
|
|
. Fixed bug GH-9235 (non-existant $sequence parameter in stub for
|
|
|
|
|
PcgOneseq128XslRr64::__construct()). (timwolla)
|
|
|
|
|
. Fixed bug GH-9190, GH-9191 (undefined behavior for MT_RAND_PHP when
|
|
|
|
|
handling large ranges). (timwolla)
|
|
|
|
|
. Fixed bug GH-9249 (Xoshiro256StarStar does not reject the invalid
|
|
|
|
|
all-zero state). (timwolla)
|
|
|
|
|
. Removed redundant RuntimeExceptions from Randomizer methods. The
|
|
|
|
|
exceptions thrown by the engines will be exposed directly. (timwolla)
|
|
|
|
|
. Added extension specific Exceptions/Errors (RandomException, RandomError,
|
|
|
|
|
BrokenRandomEngineError). (timwolla)
|
|
|
|
|
. Fixed bug GH-9415 (Randomizer::getInt(0, 2**32 - 1) with Mt19937
|
|
|
|
|
always returns 1). (timwolla)
|
|
|
|
|
. Fixed Randomizer::getInt() consistency for 32-bit engines. (timwolla)
|
|
|
|
|
. Fixed bug GH-9464 (build on older macOs releases). (David Bohman)
|
|
|
|
|
. Fixed bug GH-9839 (Pre-PHP 8.2 output compatibility for non-mt_rand()
|
|
|
|
|
functions for MT_RAND_PHP). (timwolla)
|
2022-02-18 02:40:56 +08:00
|
|
|
|
|
2022-05-05 21:51:20 +08:00
|
|
|
|
- Reflection:
|
|
|
|
|
. Added ReflectionFunction::isAnonymous(). (Nicolas Grekas)
|
2022-05-04 19:21:37 +08:00
|
|
|
|
. Added ReflectionMethod::hasPrototype(). (Ollie Read)
|
2022-06-03 00:13:21 +08:00
|
|
|
|
. Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.
|
|
|
|
|
(SamMousa)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed bug GH-8932 (ReflectionFunction provides no way to get the called
|
|
|
|
|
class of a Closure). (cmb, Nicolas Grekas)
|
2022-05-05 21:51:20 +08:00
|
|
|
|
|
2022-05-16 21:30:07 +08:00
|
|
|
|
- Session:
|
|
|
|
|
. Fixed bug GH-7787 (Improve session write failure message for user error
|
|
|
|
|
handlers). (ilutov)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Fixed GH-9200 (setcookie has an obsolete expires date format). (timwolla)
|
|
|
|
|
. Fixed GH-9584 (Avoid memory corruption when not unregistering custom session
|
|
|
|
|
handler). (ilutov)
|
|
|
|
|
. Fixed bug GH-9583 (session_create_id() fails with user defined save handler
|
|
|
|
|
that doesn't have a validateId() method). (Girgias)
|
|
|
|
|
|
|
|
|
|
- SOAP:
|
|
|
|
|
. Fixed bug GH-9720 (Null pointer dereference while serializing the response).
|
|
|
|
|
(cmb)
|
2022-05-16 21:30:07 +08:00
|
|
|
|
|
2022-05-16 00:43:20 +08:00
|
|
|
|
- Sockets:
|
|
|
|
|
. Added TCP_NOTSENT_LOWAT socket option. (David Carlier)
|
2022-04-21 04:06:47 +08:00
|
|
|
|
. Added SO_MEMINFO socket option. (David Carlier)
|
2022-05-27 20:06:53 +08:00
|
|
|
|
. Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).
|
|
|
|
|
(David Carlier)
|
|
|
|
|
. Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket
|
|
|
|
|
options. (David Carlier)
|
2022-06-02 21:08:03 +08:00
|
|
|
|
. Added ancillary data support for FreeBSD. (David Carlier)
|
2022-06-04 03:43:09 +08:00
|
|
|
|
. Added ancillary data support for NetBSD. (David Carlier)
|
2022-06-06 14:18:53 +08:00
|
|
|
|
. Added SO_BPF_EXTENSIONS socket option. (David Carlier)
|
2022-06-10 04:34:44 +08:00
|
|
|
|
. Added SO_SETFIB socket option. (David Carlier)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Added TCP_CONGESTION socket option. (David Carlier)
|
|
|
|
|
. Added SO_ZEROCOPY/MSG_ZEROCOPY options. (David Carlier)
|
|
|
|
|
. Added SOL_FILTER socket option for Solaris. (David Carlier)
|
|
|
|
|
. Fixed socket constants regression as of PHP 8.2.0beta3. (Bruce Dou)
|
2022-05-16 00:43:20 +08:00
|
|
|
|
|
2022-03-30 15:45:47 +08:00
|
|
|
|
- Sodium:
|
|
|
|
|
. Added sodium_crypto_stream_xchacha20_xor_ic(). (Scott)
|
|
|
|
|
|
2022-11-09 02:26:35 +08:00
|
|
|
|
- SPL:
|
|
|
|
|
. Uses safe_erealloc instead of erealloc to handle heap growth
|
|
|
|
|
for the SplHeap::insert method to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Widen iterator_to_array() and iterator_count()'s $iterator parameter to
|
|
|
|
|
iterable. (timwolla)
|
|
|
|
|
. Fixed bug #69181 (READ_CSV|DROP_NEW_LINE drops newlines within fields).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Fixed bug #65069 (GlobIterator incorrect handling of open_basedir check).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
2022-03-15 03:09:20 +08:00
|
|
|
|
- SQLite3:
|
|
|
|
|
. Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER. (bohwaz)
|
|
|
|
|
|
2021-12-05 11:59:18 +08:00
|
|
|
|
- Standard:
|
|
|
|
|
. net_get_interfaces() also reports wireless network interfaces on Windows.
|
|
|
|
|
(Yurun)
|
2021-12-16 03:00:24 +08:00
|
|
|
|
. Finished AVIF support in getimagesize(). (Yannis Guyon)
|
2021-12-29 19:51:18 +08:00
|
|
|
|
. Fixed bug GH-7847 (stripos with large haystack has bad performance).
|
|
|
|
|
(ilutov)
|
2022-03-04 20:24:08 +08:00
|
|
|
|
. New function memory_reset_peak_usage(). (Patrick Allaert)
|
2021-12-30 21:25:34 +08:00
|
|
|
|
. Fixed parse_url(): can not recognize port without scheme. (pandaLIU)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Deprecated utf8_encode() and utf8_decode(). (Rowan Tommins)
|
|
|
|
|
. Fixed the crypt_sha256/512 api build with clang > 12. (David Carlier)
|
|
|
|
|
. Uses safe_erealloc instead of erealloc to handle options in getopt
|
|
|
|
|
to avoid possible overflows. (David Carlier)
|
|
|
|
|
. Implemented FR GH-8924 (str_split should return empty array for empty
|
|
|
|
|
string). (Michael Vorisek)
|
|
|
|
|
. Added ini_parse_quantity function to convert ini quantities shorthand
|
|
|
|
|
notation to int. (Dennis Snell)
|
|
|
|
|
. Enable arc4random_buf for Linux glibc 2.36 and onwards
|
|
|
|
|
for the random_bytes. (Cristian Rodriguez)
|
|
|
|
|
. Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).
|
|
|
|
|
. Fixed bug #65489 (glob() basedir check is inconsistent). (Jakub Zelenka)
|
|
|
|
|
. Fixed GH-9200 (setcookie has an obsolete expires date format). (Derick)
|
|
|
|
|
. Fixed GH-9244 (Segfault with array_multisort + array_shift). (cmb)
|
|
|
|
|
. Fixed bug GH-9296 (`ksort` behaves incorrectly on arrays with mixed keys).
|
|
|
|
|
(Denis Vaksman)
|
|
|
|
|
. Marked crypt()'s $string parameter as #[\SensitiveParameter]. (timwolla)
|
|
|
|
|
. Fixed bug GH-9464 (build on older macOs releases). (David Bohman)
|
|
|
|
|
. Fixed bug GH-9518 (Disabling IPv6 support disables unrelated constants).
|
|
|
|
|
(cmb)
|
|
|
|
|
. Revert "Fixed parse_url(): can not recognize port without scheme."
|
|
|
|
|
(andypost)
|
2021-12-05 11:59:18 +08:00
|
|
|
|
|
2022-05-16 21:30:07 +08:00
|
|
|
|
- Streams:
|
|
|
|
|
. Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.
|
|
|
|
|
(Cristian Rodríguez)
|
2022-05-20 01:27:14 +08:00
|
|
|
|
. Fixed bug GH-8548 (stream_wrapper_unregister() leaks memory). (ilutov)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT. (Max Kellermann)
|
|
|
|
|
. Fixed bug GH-9316 ($http_response_header is wrong for long status line).
|
|
|
|
|
(cmb, timwolla)
|
|
|
|
|
. Fixed bug GH-9590 (stream_select does not abort upon exception or empty
|
|
|
|
|
valid fd set). (Arnaud)
|
|
|
|
|
. Fixed bug GH-9653 (file copy between different filesystems). (David Carlier)
|
|
|
|
|
. Fixed bug GH-9779 (stream_copy_to_stream fails if dest in append mode).
|
|
|
|
|
(Jakub Zelenka)
|
|
|
|
|
|
|
|
|
|
- Windows:
|
|
|
|
|
. Added preliminary support for (cross-)building for ARM64. (Yun Dou)
|
|
|
|
|
|
|
|
|
|
- XML:
|
|
|
|
|
. Added libxml_get_external_entity_loader() function. (Tim Starling)
|
2022-05-16 21:30:07 +08:00
|
|
|
|
|
2021-10-05 22:27:03 +08:00
|
|
|
|
- Zip:
|
|
|
|
|
. add ZipArchive::clearError() method
|
|
|
|
|
. add ZipArchive::getStreamName() method
|
|
|
|
|
. add ZipArchive::getStreamIndex() method
|
2022-05-13 20:59:12 +08:00
|
|
|
|
. On Windows, the Zip extension is now built as shared library (DLL) by
|
|
|
|
|
default. (cmb)
|
2022-11-09 02:26:35 +08:00
|
|
|
|
. Implement fseek for zip stream when possible with libzip 1.9.1. (Remi)
|