File: bug1104549-gssapi-regression.patch

package info (click to toggle)
dovecot 1%3A2.4.1%2Bdfsg1-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 46,224 kB
  • sloc: ansic: 596,204; makefile: 7,825; sh: 6,005; cpp: 1,866; perl: 487; yacc: 412; lex: 320; python: 253; xml: 232
file content (21 lines) | stat: -rw-r--r-- 968 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Fix GSSAPI regression
 Dovecot 2.4 introduced a regression that broke GSSAPI authentication for
 some clients.  This patch contains a fix provided by the upstream maintainers.
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
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: dovecot/src/auth/mech-gssapi.c
===================================================================
--- dovecot.orig/src/auth/mech-gssapi.c
+++ dovecot/src/auth/mech-gssapi.c
@@ -672,7 +672,7 @@ mech_gssapi_auth_initial(struct auth_req
 
 	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);
 	}