diff options
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -610,7 +610,9 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) snprintf(shroud, sizeof (shroud), "\"%s\"", password); ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", remotename, password); + memset(shroud, 0x55, sizeof(shroud)); shroud[0] = '\0'; + memset(password, 0x55, strlen(password)); free(password); free(remotename); if (ok) |