Commit 13bdad88c84 for php
commit 13bdad88c84cfb077e8670c8065999cf9b9a9e83
Merge: 2c79813b799 0593cf066e7
Author: Weilin Du <weilindu@php.net>
Date: Thu Nov 12 16:17:38 2026 +0800
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
Fix stack overflow in filter_var() and filter_var_array() (#25349)
diff --cc NEWS
index a90115aef2d,199282884a7..567e9baf821
--- a/NEWS
+++ b/NEWS
@@@ -48,11 -37,10 +48,15 @@@ PH
. Fixed bug GH-25306 (Assertion status == LXB_STATUS_OK in dom_parse_selector
when lexbor allocation fails). (ndossche)
+- Fileinfo:
+ . Fixed bug GH-25051 (TrueType fonts detected as application/octet-stream
+ since libmagic 5.48). (Weilin Du)
+ . Fixed incorrect MIME type detection for HWPX files. (Weilin Du)
+
+ - Filter:
+ . Fixed stack overflow in filter_var() and filter_var_array() with deeply
+ nested arrays. (Eyüp Can Akman)
+
- MBString:
. Fixed stack overflow in mb_check_encoding() and mb_convert_encoding() with
deeply nested arrays. (Eyüp Can Akman)