Commit e21aaa3b65a for php.net

commit e21aaa3b65ab7ffb16190ab2a77b4dc5fe43c5a2
Merge: 081487078cd 17f67529fd7
Author: ndossche <7771979+ndossche@users.noreply.github.com>
Date:   Sun Jun 7 11:01:59 2026 +0200

    Merge branch 'PHP-8.4' into PHP-8.5

    * PHP-8.4:
      zip: Fix leak when zip_fread() fails
      zip: Fix name leaks when path length check fails in php_zip_pcre()
      zip: Fix file descriptor leak when php_zip_add_file() fails

diff --cc NEWS
index 2828c65643c,e9226c59a0f..f09487c5da0
--- a/NEWS
+++ b/NEWS
@@@ -29,14 -31,10 +29,17 @@@ PH
      (ndossche)
    . Fixed memory leak in inflate_add(). (ndossche)

+ - Zip:
+   . Fixed error-related memory leaks. (ndossche)
+
 -04 Jun 2026, PHP 8.4.22
 +02 Jun 2026, PHP 8.5.7
 +
 +- CLI:
 +  . Fixed bug GH-21901 (Stale getopt() optional value). (onthebed)
 +
 +- Core:
 +  . Fixed bug GH-22071 (JIT assertion on abstract static method call).
 +    (David Carlier)

  - Date:
    . Fixed bug GH-18422 (int overflow in php_date_llabs). (iliaal)