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 /imap.c | |
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
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) |