[php-src] master: Merge branch 'PHP-8.5' into PHP-8.6
| From: | Kamil Tekiela | Date: | Thu, 29 Oct 2026 12:14:29 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.5' into PHP-8.6 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142937@lists.php.net to get a copy of this message | ||
Author: Kamil Tekiela (kamil-tekiela)
Date: 2026-10-29T12:12:15Z
Commit: https://github.com/php/php-src/commit/c2ca7bcccfb08da8674338aa7cfce6b7fa31486c
Raw diff: https://github.com/php/php-src/commit/c2ca7bcccfb08da8674338aa7cfce6b7fa31486c.diff
Merge branch 'PHP-8.5' into PHP-8.6
Changed paths:
M NEWS
M ext/mysqlnd/mysqlnd_wireprotocol.c
Diff:
diff --git a/NEWS b/NEWS
index 8929fa19c5e9..0b39499544ca 100644
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,10 @@ PHP NEWS
properties after running out of memory while escaping a property name.
(adapik)
+- MySQLnd:
+ . Fixed bug GH-24609 (OK packets without an info message rejected on x32
+ builds). (lazerg)
+
- Opcache:
. Fixed tracing JIT returning a wrapped integer instead of a float on
integer overflow after an integer was compared with a float or
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index 65b0bceae591..c48bff627eeb 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1127,7 +1127,7 @@ php_mysqlnd_rset_header_read(MYSQLND_CONN_DATA * conn, void * _packet)
zend_uchar * const buf = (zend_uchar *) pfc->cmd_buffer.buffer;
const zend_uchar * p = buf;
const zend_uchar * const begin = buf;
- size_t len;
+ zend_ulong len;
MYSQLND_OPTIONAL_UINT64_T len_ll;
DBG_ENTER("php_mysqlnd_rset_header_read");