diff --git a/NEWS b/NEWS index cb68d41c3332..4f7a144ca296 100644 --- a/NEWS +++ b/NEWS @@ -65,6 +65,8 @@ PHP NEWS - MySQLnd: . Fixed bug GH-24293 (Segfault on connect with an empty password to a MariaDB PAM account). (lazerg) + . 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 diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index 495539d970df..740d13031e88 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1129,7 +1129,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");