From f08d646e1057978fbb2c5867c807b220cc614f65 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 12 May 2001 06:46:05 +0000 Subject: Fix IMAP password shrouding. svn path=/trunk/; revision=3306 --- imap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'imap.c') diff --git a/imap.c b/imap.c index 3dce0a8d..73a68d31 100644 --- a/imap.c +++ b/imap.c @@ -414,6 +414,7 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) imap_canonicalize(remotename, ctl->remotename, NAMELEN); imap_canonicalize(password, ctl->password, PASSWORDLEN); + strcpy(shroud, ctl->password); ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", remotename, password); shroud[0] = '\0'; if (ok) -- cgit v1.2.3