List:Commits« Previous MessageNext Message »
From:Sergey Vojtovich Date:December 17 2010 8:56am
Subject:bzr commit into mysql-5.5-bugteam branch (sergey.vojtovich:3208) Bug#58948
View as plain text  
#At file:///home/svoj/mysql/server/mysql-5.5-bugteam-bug58948/ based on revid:luis.soares@stripped

 3208 Sergey Vojtovich	2010-12-17
      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.

    modified:
      sql/sql_class.cc
=== modified file 'sql/sql_class.cc'
--- a/sql/sql_class.cc	2010-12-15 22:59:21 +0000
+++ b/sql/sql_class.cc	2010-12-17 08:56:43 +0000
@@ -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;


Attachment: [text/bzr-bundle] bzr/sergey.vojtovich@oracle.com-20101217085643-ikkrb97kutm16c4d.bundle
Thread
bzr commit into mysql-5.5-bugteam branch (sergey.vojtovich:3208) Bug#58948Sergey Vojtovich17 Dec