]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/mysql/mysql_store.cpp
Fix the STG-MIB
[stg.git] / projects / stargazer / plugins / store / mysql / mysql_store.cpp
index 54e13f864deaebe8eeeca50420f821b3b16d897c..567d69503d2d3f3da10cb01a84ff80258c3bfc08 100644 (file)
@@ -1273,6 +1273,10 @@ char password[ADM_PASSWD_LEN + 1];
 char passwordE[2*ADM_PASSWD_LEN + 2];
 BLOWFISH_CTX ctx;
 
+memset(pass, 0, sizeof(pass));
+memset(password, 0, sizeof(password));
+memset(passwordE, 0, sizeof(passwordE));
+
 string p;
 MYSQL_RES *res;
 MYSQL_ROW row;