1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

BUG#58948 - Valgrind warning in do_handle_one_connection()

Fixed that proxy_user may be used uninitialized.
This commit is contained in:
Sergey Vojtovich
2010-12-17 11:56:43 +03:00
parent 59fdd56dd1
commit cb2e57c788

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;