mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#58948 - Valgrind warning in do_handle_one_connection()
Fixed that proxy_user may be used uninitialized. sql/sql_class.cc: Fixed that proxy_user may be used uninitialized.
This commit is contained in:
@ -3007,7 +3007,7 @@ void Security_context::init()
|
||||
{
|
||||
host= user= ip= external_user= 0;
|
||||
host_or_ip= "connecting host";
|
||||
priv_user[0]= priv_host[0]= '\0';
|
||||
priv_user[0]= priv_host[0]= proxy_user[0]= '\0';
|
||||
master_access= 0;
|
||||
#ifndef NO_EMBEDDED_ACCESS_CHECKS
|
||||
db_access= NO_ACCESS;
|
||||
|
Reference in New Issue
Block a user