From 418e8bc5789d9ef223f043848619b6a648748dcc Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 22 Aug 2019 19:11:53 -0600 Subject: * Ignore extra text in challenge from smtp server during authentication. --- imap/src/c-client/smtp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'imap/src') diff --git a/imap/src/c-client/smtp.c b/imap/src/c-client/smtp.c index d1c9a7cb..a01c87b4 100644 --- a/imap/src/c-client/smtp.c +++ b/imap/src/c-client/smtp.c @@ -363,6 +363,7 @@ void *smtp_challenge (void *s,unsigned long *len) sprintf (tmp,"SMTP SERVER BUG (invalid challenge, continuing): %.80s",stream->reply+4); mm_log (tmp,ERROR); ret = cpystr(""); /* This is silly: fake a reply, it will be ignored */ + *len = 0L; } return ret; } -- cgit v1.2.3-70-g09d2