diff options
Diffstat (limited to 'mysql.c')
-rw-r--r-- | mysql.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -218,6 +218,9 @@ char *db_mysql_secure(char *pass) char epass[BUFSIZE]; + /* Initialize the buffer. Bug #86 */ + memset(epass, '\0', BUFSIZE); + #ifdef USE_ENCRYPTION /* If we use the builtin encryption don't double encrypt! */ snprintf(epass, sizeof(epass), "'%s'", pass); |