From b9a0c8804a61c14bc31d9ee5eacfbaf980780ba6 Mon Sep 17 00:00:00 2001 From: Sergey Vojtovich Date: Fri, 17 Dec 2010 11:56:43 +0300 Subject: [PATCH] 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. --- sql/sql_class.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_class.cc b/sql/sql_class.cc index c4aa4ba7efb..c058e66df97 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -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;