From c53a3c54d388c0031aaa642e6b14d46eb86d9485 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 8 Apr 2010 04:53:36 +0300 Subject: [PATCH] auth: Fixed SASL authentication broken by recent changes. --HG-- branch : HEAD --- src/auth/auth-request-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/auth-request-handler.c b/src/auth/auth-request-handler.c index cb15509b0d..6d6e7060a9 100644 --- a/src/auth/auth-request-handler.c +++ b/src/auth/auth-request-handler.c @@ -426,7 +426,7 @@ bool auth_request_handler_auth_continue(struct auth_request_handler *handler, unsigned int id; data = strchr(args, '\t'); - if (data == NULL || str_to_uint(args, &id) < 0) { + if (data == NULL || str_to_uint(t_strdup_until(args, data), &id) < 0) { i_error("BUG: Authentication client sent broken CONT request"); return FALSE; } -- 2.47.3