Software 43948 Published by

A new release candidate, PHP 8.5.1 RC1, has been released with several updates and bug fixes. The changes include updating the boost.context files to match version 1.86.0 from mvorisek, resolving issues like GH-20435, which fixed a problem with SensitiveParameter, and fixing assertion failures caused by crashes in stream filter object parameters for Bz2 and Zlib. Other components, such as DOM, Fibers, Intl, URI parsing, LibXML, MySQLnd, Opcache, Phar, PHPDBG, SPL, XML, Zip, have also received fixes for various issues like memory leaks, stack overflows, and deprecation warnings. These updates are part of the development process leading up to the final release of PHP 8.5.1.



PHP 8.5.1 RC1 released

A new release candidate for PHP 8.5.1 has been released

One thing they've updated is the boost.context files, bringing them in line with version 1.86.0 from mvorisek. Alongside this change, there are several bug fixes to note. For instance, GH-20435 has been resolved. That one was about SensitiveParameter not working correctly when used with named arguments for variadic parameters. 

Another fix deals with GH-20546. This involved a macOS-specific issue related to how the preserve_none attribute worked in DOM. Elsewhere, Bz2 got some attention too. They fixed assertion failures caused by crashes linked to stream filter object parameters. DOM also saw its own set of changes, specifically for edge cases involving XPath callbacks, they've addressed memory leaks and odd behavior there. Fibers were another area needing a look. A problem with setting fiber.stack_size to something small (which triggered ASAN stack overflows) has been corrected in GH-20483.

Looking at other components: Intl saw updates for Spoofchecker, and URI parsing got a fix related to how things are handled; the Standard component specifically resolved some issues there. Let's see...

LibXML was updated to handle newer libxml versions better, mainly by resolving those pesky deprecation warnings around input buffer or parser stuff. MySQLnd also had an issue squashed: GH-20528 broke IPv6 connections where addresses were wrapped in square brackets. That's fixed now. Over in Opcache, they tackled a bug (GH-20329) affecting opcache.file_cache when the interned string buffers get full. Phar had multiple issues looked at as well: case insensitivity problems and some assertion failures received fixes.

Then there's PHPDBG, it got better thanks to fixing ZPP type violations in two specific functions, phpdbg_get_executable() and phpdbg_end_oplog(). And SPL needed a fix for GH-20614. This involved how references were handled during deserialization. The Standard component itself saw action too, primarily tackling memory leaks with array_diff() and preventing stack overflows in http_build_query().

Finally, XML and Zip users should know their fixes are ready: issues related to special characters in attributes and crashes from property existence tests have been resolved. Zlib's story mirrors some of Bz2's earlier problems, but they've fixed the assertion failures too, stemming from the same type of crashes involving stream filters. And let's not forget, URI parsing has a fix for GH-20366; it was incorrectly throwing a ValueError when null bytes were encountered.

Release php-8.5.1RC1 · php/php-src

Tag for php-8.5.1RC1

Release php-8.5.1RC1 · php/php-src