]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Fixed SASL authentication broken by recent changes.
authorTimo Sirainen <tss@iki.fi>
Thu, 8 Apr 2010 01:53:36 +0000 (04:53 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 8 Apr 2010 01:53:36 +0000 (04:53 +0300)
--HG--
branch : HEAD

src/auth/auth-request-handler.c

index cb15509b0d0a33fd99a33aa1d2d4456c5a7490c2..6d6e7060a9ac8f99875c5c9be65604357147c1d4 100644 (file)
@@ -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;
        }