August 2024August 29, 2024Community FixesPHP version 8.3.11 fixesCoreFixed bug GH-15020: Memory leak in Zend/Optimizer/escape_analysis.cFixed bug GH-15023: Memory leak in Zend/zend_ini.cFixed bug GH-13330: Append -Wno-implicit-fallthrough flag conditionallyFix uninitialized memory in network.cFixed bug GH-15108: Segfault when destroying generator during shutdownFixed bug GH-15275: Crash during GC of suspended generator delegateCurlFixed case when curl_error returns an empty stringDOMFix UAF when removing doctype and using foreach iterationFFIFixed bug GH-14286: ffi enum type (when enum has no name) make memory leakHashFix crash when converting array data for array in shm in xxh3IntlFixed bug GH-15087: IntlChar::foldCase()'s $option is not optionalOpcacheFixed bug GH-13817: Segmentation fault for enabled observers after pass 4Fixed bug GH-13775: Memory leak possibly related to opcache SHM placementOutputFixed bug GH-15179: Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.rePDO_FirebirdFix bogus fallthrough path in firebird_handle_get_attribute()PHPDBGFixed bug GH-13199: EOF emits redundant prompt in phpdbg local console mode with libedit/readlineFixed bug GH-15268: heap buffer overflow in phpdbg (zend_hash_num_elements()Zend/zend_hash.h)Fixed bug GH-15210: use-after-free on watchpoint allocationsRandomFixed part of bug GH-15381, checking getrandom availability on solarisSoapFixed bug #55639: Digest autentication dont workFix SoapFault property destructionFixed bug GH-15252: SOAP XML broken since PHP 8.3.9 when using classmap constructor optionStandardFix passing non-finite timeout values in stream functionsFixed GH-14780: p(f)sockopen timeout overflowStreamsFixed bug GH-15028: Memory leak in ext/phar/stream.cFixed bug GH-15034: Integer overflow on stream_notification_callbackbyte_max parameter with files bigger than 2GBReverted fix for GH-14930: Custom stream wrapper dir_readdir output truncated to 255 charactersTidyFix memory leaks in ext/tidy basedir restriction codePHP version 8.2.23 fixesCoreFixed bug GH-15020: Memory leak in Zend/Optimizer/escape_analysis.cFixed bug GH-15023: Memory leak in Zend/zend_ini.cFixed bug GH-13330: Append -Wno-implicit-fallthrough flag conditionallyFix uninitialized memory in network.cFixed bug GH-15108: Segfault when destroying generator during shutdownFixed bug GH-15275: Crash during GC of suspended generator delegateCurlFixed case when curl_error returns an empty stringDOMFix UAF when removing doctype and using foreach iterationFFIFixed bug GH-14286: ffi enum type (when enum has no name) make memory leakHashFix crash when converting array data for array in shm in xxh3IntlFixed bug GH-15087: IntlChar::foldCase()'s $option is not optionalOpcacheFixed bug GH-13817: Segmentation fault for enabled observers after pass 4Fixed bug GH-13775: Memory leak possibly related to opcache SHM placementOutputFixed bug GH-15179: Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.rePDO_FirebirdFix bogus fallthrough path in firebird_handle_get_attribute()PHPDBGFixed bug GH-13199: EOF emits redundant prompt in phpdbg local console mode with libedit/readlineFixed bug GH-15268: heap buffer overflow in phpdbg (zend_hash_num_elements()Zend/zend_hash.h)Fixed bug GH-15210: use-after-free on watchpoint allocationsRandomFixed part of bug GH-15381, checking getrandom availability on solarisSoapFixed bug #55639: Digest autentication dont workFix SoapFault property destructionFixed bug GH-15252: SOAP XML broken since PHP 8.3.9 when using classmap constructor optionStandardFix passing non-finite timeout values in stream functionsFixed GH-14780: p(f)sockopen timeout overflowStreamsFixed bug GH-15028: Memory leak in ext/phar/stream.cFixed bug GH-15034: Integer overflow on stream_notification_callbackbyte_max parameter with files bigger than 2GBTidyFix memory leaks in ext/tidy basedir restriction codeAugust 5, 2024Community FixesPHP version 8.3.10 fixesCoreFixed bug GH-13922: Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1.Fixed bug GH-14626: Fix is_zend_ptr() for huge blocks.Fixed bug GH-14590: Memory leak in FPM test gh13563-conf-bool-env.phpt.Fixed OSS-Fuzz #69765.Fixed bug GH-14741: Segmentation fault in Zend/zend_types.h.Fixed bug GH-14969: Use-after-free in property coercion with __toString().Fixed bug GH-14961: Comment between -> and keyword results in parse error.DomFixed bug GH-14702: DOMDocument::xinclude() crash.FileinfoFixed bug GH-14888: README.REDIST.BINS refers to non-existing LICENSE.Gdext/gd/tests/gh10614.phpt: skip if no PNG support.restored warning instead of fata error.LibXMLFixed bug GH-14563: Build failure with libxml2 v2.13.0.OpcacheFixed bug GH-14550: No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled.OutputFixed bug GH-14808: Unexpected null pointer in Zend/zend_string.h with empty output buffer.PDOFixed bug GH-14712: Crash with PDORow access to null property.PharFixed bug GH-14603: null string from zip entry.PHPDBGFixed bug GH-14596: crashes with ASAN and ZEND_RC_DEBUG=1.Fixed bug GH-14553: echo output trimmed at NULL byte.ShmopFixed bug GH-14537: shmop Windows 11 crashes the process.SPLFixed bug GH-14639: Member access within null pointer in ext/spl/spl_observer.c.StandardFix 32-bit wordwrap test failures.Fixed bug GH-14774: time_sleep_until overflow.Fixed bug GH-14775: range function overflow with negative step argument.StreamsFixed bug GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3.TidyFix memory leak in tidy_repair_file().TreewideFix compatibility with libxml2 2.13.2.XMLMove away from to-be-deprecated libxml fields.Fixed bug GH-14834: Error installing PHP when --with-pear is used.PHP version 8.2.22 fixesSimpleXMLFixed bug GH-14638: null dereference after XML parsing failure.CoreFixed bug GH-13922: Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1.Fixed bug GH-14626: Fix is_zend_ptr() for huge blocks.Fixed bug GH-14590: Memory leak in FPM test gh13563-conf-bool-env.phpt.Fixed OSS-Fuzz #69765.Fixed bug GH-14741: Segmentation fault in Zend/zend_types.h.Fixed bug GH-14969: Use-after-free in property coercion with __toString().Fixed bug GH-14961: Comment between -> and keyword results in parse error.DomFixed bug GH-14702: DOMDocument::xinclude() crash.Gdext/gd/tests/gh10614.phpt: skip if no PNG support.restored warning instead of fata error.LibXMLFixed bug GH-14563: Build failure with libxml2 v2.13.0.OpcacheFixed bug GH-14550: No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled.OutputFixed bug GH-14808: Unexpected null pointer in Zend/zend_string.h with empty output buffer.PDOFixed bug GH-14712: Crash with PDORow access to null property.PharFixed bug GH-14603: null string from zip entry.PHPDBGFixed bug GH-14596: crashes with ASAN and ZEND_RC_DEBUG=1.Fixed bug GH-14553: echo output trimmed at NULL byte.ShmopFixed bug GH-14537: shmop Windows 11 crashes the process.SPLFixed bug GH-14639: Member access within null pointer in ext/spl/spl_observer.c.StandardFix 32-bit wordwrap test failures.Fixed bug GH-14774: time_sleep_until overflow.TidyFix memory leak in tidy_repair_file().TreewideFix compatibility with libxml2 2.13.2.XMLMove away from to-be-deprecated libxml fields.Fixed bug GH-14834: Error installing PHP when --with-pear is used.