X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fauths%2Fplaintext.c;h=ab703daec6aae645fb959cd9c3c7f325b7be25a4;hb=559d4875e1bcdb1169b272c37f936e82b0a8b0c0;hp=c120375625900733fb8739ee3467ac0e93ad90e3;hpb=13a4b4c1810a1a9f3c956f1e92807a0d86c6f5bf;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/auths/plaintext.c b/src/src/auths/plaintext.c index c12037562..ab703daec 100644 --- a/src/src/auths/plaintext.c +++ b/src/src/auths/plaintext.c @@ -3,6 +3,7 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2018 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ #include "../exim.h" @@ -108,7 +109,7 @@ already been provided as part of the AUTH command. For the rest, send them out as prompts, and get a data item back. If the data item is "*", abandon the authentication attempt. Otherwise, split it into items as above. */ -while ( (s = string_nextinlist(&prompts, &sep, big_buffer, big_buffer_size)) +while ( (s = string_nextinlist(&prompts, &sep, NULL, 0)) && expand_nmax < EXPAND_MAXN) if (number++ > expand_nmax) if ((rc = auth_prompt(CUS s)) != OK)