diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2006-11-27 02:09:01 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2006-11-27 02:09:01 +0000 |
commit | c5cf37a81f295113478aa9271cef6f43bb9e7f15 (patch) | |
tree | 7c4dba9428b7b782b31550c52cefa0ec1790b684 | |
parent | 0e30e6abbd90d7e6cb43fbebad0753e88ae75bc8 (diff) | |
download | fetchmail-c5cf37a81f295113478aa9271cef6f43bb9e7f15.tar.gz fetchmail-c5cf37a81f295113478aa9271cef6f43bb9e7f15.tar.bz2 fetchmail-c5cf37a81f295113478aa9271cef6f43bb9e7f15.zip |
Trash shroud store.
svn path=/branches/BRANCH_6-3/; revision=4965
-rw-r--r-- | imap.c | 2 | ||||
-rw-r--r-- | pop2.c | 1 |
2 files changed, 3 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) @@ -70,6 +70,7 @@ static int pop2_getauth(int sock, struct query *ctl, char *buf) status = gen_transact(sock, "HELO %s %s", ctl->remotename, ctl->password); + memset(shroud, 0x55, sizeof(shroud)); shroud[0] = '\0'; return status; } |