]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: winbind - Make static analyzer happier
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Sun, 1 Sep 2019 17:50:05 +0000 (20:50 +0300)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Tue, 10 Sep 2019 07:02:32 +0000 (10:02 +0300)
src/auth/mech-winbind.c

index c7f80a7e29264d5c8904cac8f56174c0ac7dfd42..6be16e79c35ddb1fa4f004c3311f4db61ffb382f 100644 (file)
@@ -231,6 +231,7 @@ do_auth_continue(struct auth_request *auth_request,
        if (strcmp(token[0], "TT") == 0) {
                buffer_t *buf;
 
+               i_assert(token[1] != NULL);
                buf = t_base64_decode_str(token[1]);
                auth_request_handler_reply_continue(auth_request, buf->data,
                                                    buf->used);