1
0
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:
Sergey Vojtovich
2010-12-17 11:56:43 +03:00
parent 246b4be056
commit b9a0c8804a

View File

@ -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;