diff options
| -rw-r--r-- | NEWS | 2 | ||||
| -rw-r--r-- | ext/mysqlnd/mysqlnd_wireprotocol.c | 5 | 
2 files changed, 5 insertions, 2 deletions
@@ -16,6 +16,8 @@ PHP                                                                        NEWS  - MySQLnd:    . Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit      null-terminated password). (Daniel Black) +  . Fixed bug #80713 (SegFault when disabling ATTR_EMULATE_PREPARES and +    MySQL 8.0). (Nikita)  - MySQLi:    . Fixed bug #74779 (x() and y() truncating floats to integers). (cmb) diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c index f98cb6c971..ba579ba403 100644 --- a/ext/mysqlnd/mysqlnd_wireprotocol.c +++ b/ext/mysqlnd/mysqlnd_wireprotocol.c @@ -1204,8 +1204,9 @@ php_mysqlnd_rset_field_read(MYSQLND_CONN_DATA * conn, void * _packet)  		DBG_RETURN(PASS);  	} else if (EODATA_MARKER == *p && packet->header.size < 8) {  		/* Premature EOF. That should be COM_FIELD_LIST. But we don't support COM_FIELD_LIST anymore, thus this should not happen */ -		DBG_INF("Premature EOF. That should be COM_FIELD_LIST"); -		DBG_RETURN(PASS); +		DBG_ERR("Premature EOF. That should be COM_FIELD_LIST"); +		php_error_docref(NULL, E_WARNING, "Premature EOF in result field metadata"); +		DBG_RETURN(FAIL);  	}  	meta = packet->metadata;  | 
