mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix bug #60948 mysqlnd FTBFS when -Wformat-security is enabled
# 5.3 not affected
This commit is contained in:
parent
5c896b344a
commit
4c4a33e706
@ -500,7 +500,7 @@ size_t php_mysqlnd_auth_write(void * _packet, MYSQLND_CONN_DATA * conn TSRMLS_DC
|
||||
const char * const msg = "Authentication data too long. "
|
||||
"Won't fit into the buffer and will be truncated. Authentication will thus fail";
|
||||
SET_CLIENT_ERROR(*conn->error_info, CR_UNKNOWN_ERROR, UNKNOWN_SQLSTATE, msg);
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, msg);
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", msg);
|
||||
DBG_RETURN(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user