From: Timo Sirainen Date: Tue, 27 Dec 2022 16:05:22 +0000 (-0500) Subject: auth: Flush failed auth requests in their own data stack frames X-Git-Tag: 2.4.0~3207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87a95f4212c115266898f1e9175f9f4576d8c72e;p=thirdparty%2Fdovecot%2Fcore.git auth: Flush failed auth requests in their own data stack frames --- diff --git a/src/auth/auth-request-handler.c b/src/auth/auth-request-handler.c index a6f5994081..f6a77a8338 100644 --- a/src/auth/auth-request-handler.c +++ b/src/auth/auth-request-handler.c @@ -951,7 +951,7 @@ void auth_request_handler_flush_failures(bool flush_all) } /* flush the requests */ - for (i = 0; i < count; i++) { + for (i = 0; i < count; i++) T_BEGIN { auth_request = auth_requests[aqueue_idx(auth_failures, 0)]; aqueue_delete_tail(auth_failures); @@ -961,7 +961,7 @@ void auth_request_handler_flush_failures(bool flush_all) AUTH_CLIENT_RESULT_FAILURE, uchar_empty_ptr, 0); auth_request_unref(&auth_request); - } + } T_END; } static void auth_failure_timeout(void *context ATTR_UNUSED)