Fix GSSAPI regression
authorDovecot Maintainers <dovecot@packages.debian.org>
Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)
committerNoah Meyerhans <noahm@debian.org>
Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)
Origin: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/O54EAGLIXXHMOH7BQCCKHHB3Z32HDWVR/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104549
Last-Update: 2025-05-02

Dovecot 2.4 introduced a regression that broke GSSAPI authentication for
some clients.  This patch contains a fix provided by the upstream maintainers.
Last-Update: 2025-05-02
Gbp-Pq: Name bug1104549-gssapi-regression.patch

src/auth/mech-gssapi.c

index 57a2b125b2848459b8836cc2560eefe5d7a38f21..4ff571652896d4b2ad866cc74a194c828f5a7204 100644 (file)
@@ -672,7 +672,7 @@ mech_gssapi_auth_initial(struct auth_request *request,
 
        if (data_size == 0) {
                /* The client should go first */
-               auth_request_handler_reply_continue(request, NULL, 0);
+               auth_request_handler_reply_continue(request, uchar_empty_ptr, 0);
        } else {
                mech_gssapi_auth_continue(request, data, data_size);
        }