Author: Pierrick Charron (adoy)
Date: 2024-04-11T09:45:37-04:00
Commit:
https://github.com/php/web-php/commit/88abf659b75cf874c8df4872ce410d8ca53718da
Raw diff:
https://github.com/php/web-php/commit/88abf659b75cf874c8df4872ce410d8ca53718da.diff
Announce PHP 8.2.18
Changed paths:
A archive/entries/2024-04-11-1.xml
A releases/8_2_18.php
M ChangeLog-8.php
M archive/archive.xml
M include/releases.inc
M include/version.inc
Diff:
diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index a2ff966b54..386cd9d324 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -566,6 +566,83 @@
<a id="PHP_8_2"></a>
+<section class="version" id="8.2.18"><!-- {{{ 8.2.18 -->
+<h3>Version 8.2.18</h3>
+<b><?php release_date('11-Apr-2024'); ?></b>
+<ul><li>Core:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory
in destructor with weak references).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?>
(AX_GCC_FUNC_ATTRIBUTE failure).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not
scale well with a lot of objects created in destructor).</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Add some missing ZPP checks.</li>
+ <li>Fix potential memory leak in XPath evaluation results.</li>
+ <li>Fix phpdoc for DOMDocument load methods.</li>
+</ul></li>
+<li>FPM:
+<ul>
+ <li>Fix incorrect check in fpm_shm_free().</li>
+</ul></li>
+<li>GD:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS
in feature tests).</li>
+</ul></li>
+<li>Gettext:
+<ul>
+ <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
with category set to LC_ALL.</li>
+</ul></li>
+<li>MySQLnd:
+<ul>
+ <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake
response [mysqlnd]).</li>
+ <li>Fix incorrect charset length in check_mb_eucjpms().</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may
be optimized out when op1 is null).</li>
+ <li>Fixed <?php githubissuel('php/php-src', 13712); ?> (Segmentation fault
for enabled observers when calling trait method of internal trait when opcache
is loaded).</li>
+</ul></li>
+<li>PDO:
+<ul>
+ <li>Fix various PDORow bugs.</li>
+</ul></li>
+<li>Random:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2
compatibility for mt_srand with unknown modes).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13690); ?> (Global Mt19937
is not properly reset in-between requests when MT_RAND_PHP is used).</li>
+</ul></li>
+<li>Session:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with
session_decode and compilation error).</li>
+</ul></li>
+<li>Sockets:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13604); ?>
(socket_getsockname returns random characters in the end of the socket
name).</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize
SplfixedArray after being unserialized in PHP 8.2.15).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null
pointer in zend_string.h).</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem
modified by tests).</li>
+ <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of
`\n` in $additional_headers of mail()).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?>
(file_put_contents fail on strings over 4GB on Windows).</li>
+ <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command
parameter of proc_open). (CVE-2024-1874)</li>
+ <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to
partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
+ <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return
true, opening ATO risk). (CVE-2024-3096)</li>
+</ul></li>
+<li>XML:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test
failures when building with --with-expat).</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.2.17"><!-- {{{ 8.2.17 -->
<h3>Version 8.2.17</h3>
<b><?php release_date('14-Mar-2024'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index b0b39f0017..652b8ee0e5 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>[email protected]</email>
</author>
+ <xi:include href="entries/2024-04-11-1.xml"/>
<xi:include href="entries/2024-03-22-1.xml"/>
<xi:include href="entries/2024-03-14-2.xml"/>
<xi:include href="entries/2024-03-14-1.xml"/>
diff --git a/archive/entries/2024-04-11-1.xml b/archive/entries/2024-04-11-1.xml
new file mode 100644
index 0000000000..c39d7ee19e
--- /dev/null
+++ b/archive/entries/2024-04-11-1.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title>PHP 8.2.18 Released!</title>
+ <id>https://www.php.net/archive/2024.php#2024-04-11-1</id>
+ <published>2024-04-11T13:37:51+00:00</published>
+ <updated>2024-04-11T13:37:51+00:00</updated>
+ <link href="https://www.php.net/index.php#2024-04-11-1" rel="alternate"
type="text/html"/>
+ <link href="https://www.php.net/archive/2024.php#2024-04-11-1" rel="via"
type="text/html"/>
+ <category term="releases" label="New PHP release"/>
+ <category term="frontpage" label="PHP.net frontpage news"/>
+ <content type="xhtml">
+ <div xmlns="http://www.w3.org/1999/xhtml"><p>The PHP development team
announces the immediate availability of PHP 8.2.18. This is a security
release.</p>
+
+<p>All PHP 8.2 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.2.18 please visit our <a
href="https://www.php.net/downloads.php">downloads page</a>,
+Windows source and binaries can be found on <a
href="https://windows.php.net/download/">windows.php.net/download/</a>.
+The list of changes is recorded in the <a
href="https://www.php.net/ChangeLog-8.php#8.2.18">ChangeLog</a>.
+</p> </div>
+ </content>
+</entry>
diff --git a/include/releases.inc b/include/releases.inc
index 53e222ccff..94df95bebe 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,42 @@
$OLDRELEASES = array (
8 =>
array (
+ '8.2.17' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_2_17.php',
+ ),
+ 'tags' =>
+ array (
+ ),
+ 'date' => '14 Mar 2024',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.2.17.tar.gz',
+ 'name' => 'PHP 8.2.17 (tar.gz)',
+ 'sha256' =>
'1d8ab98e1c09518c672c5afcbef0e61f9003173c7638fc686461ae670d12742e',
+ 'date' => '14 Mar 2024',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.2.17.tar.bz2',
+ 'name' => 'PHP 8.2.17 (tar.bz2)',
+ 'sha256' =>
'191316c203267d96160b47d22f955d4dc11793de8a5f327e0c2a76275a6894ea',
+ 'date' => '14 Mar 2024',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.2.17.tar.xz',
+ 'name' => 'PHP 8.2.17 (tar.xz)',
+ 'sha256' =>
'1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35',
+ 'date' => '14 Mar 2024',
+ ),
+ ),
+ 'museum' => false,
+ ),
'8.3.3' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 1a488d86ed..d0e0313efb 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -32,13 +32,13 @@ $RELEASES = (function () {
/* PHP 8.2 Release */
$data['8.2'] = [
- 'version' => '8.2.17',
- 'date' => '14 Mar 2024',
- 'tags' => [], // Set to ['security'] for security releases.
+ 'version' => '8.2.18',
+ 'date' => '11 Apr 2024',
+ 'tags' => [ 'security' ], // Set to ['security'] for security releases.
'sha256' => [
- 'tar.gz' =>
'1d8ab98e1c09518c672c5afcbef0e61f9003173c7638fc686461ae670d12742e',
- 'tar.bz2' =>
'191316c203267d96160b47d22f955d4dc11793de8a5f327e0c2a76275a6894ea',
- 'tar.xz' =>
'1cc4ef733ba58f6557db648012471f1916e5bac316303aa165535bedab08ee35',
+ 'tar.gz' =>
'b934ca7e8c82945c5cbf0aa2a3f66727eb5b5098e551819e1b090572d6a51ead',
+ 'tar.bz2' =>
'ca0b07c254200320f518ac5b3df540a9cf14d866f3c93edc3013b52e06fac796',
+ 'tar.xz' =>
'44b306fc021e56441f691da6c3108788bd9e450f293b3bc70fcd64b08dd41a50',
]
];
diff --git a/releases/8_2_18.php b/releases/8_2_18.php
new file mode 100644
index 0000000000..60f96e5549
--- /dev/null
+++ b/releases/8_2_18.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_2_18.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.2.18 Release Announcement');
+?>
+<h1>PHP 8.2.18 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP
8.2.18. This is a security release.</p>
+
+<p>All PHP 8.2 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.2.18 please visit our <a
href="https://www.php.net/downloads.php">downloads page</a>,
+Windows source and binaries can be found on <a
href="https://windows.php.net/download/">windows.php.net/download/</a>.
+The list of changes is recorded in the <a
href="https://www.php.net/ChangeLog-8.php#8.2.18">ChangeLog</a>.
+</p>
+<?php site_footer();