Marcus Rueckert
a55aae303c
- add dovecot-2.3.11.3-gssapi-nul.patch: Fix for bug introduced in v2.3.11.3. It appears GSSAPI can contain NUL. https://github.com/dovecot/core/pull/133 OBS-URL: https://build.opensuse.org/request/show/834577 OBS-URL: https://build.opensuse.org/package/show/server:mail/dovecot23?expand=0&rev=81
23 lines
679 B
Diff
23 lines
679 B
Diff
From aae316881127017af2ba20e478251132a05f7dc0 Mon Sep 17 00:00:00 2001
|
|
From: "Paul G. Banks" <web@paulbanks.org>
|
|
Date: Sun, 16 Aug 2020 10:57:36 +0100
|
|
Subject: [PATCH] Fix: GSSAPI can contain NUL.
|
|
|
|
---
|
|
src/auth/mech-gssapi.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/auth/mech-gssapi.c b/src/auth/mech-gssapi.c
|
|
index f29e48da88..966273d388 100644
|
|
--- a/src/auth/mech-gssapi.c
|
|
+++ b/src/auth/mech-gssapi.c
|
|
@@ -735,7 +735,7 @@ mech_gssapi_auth_free(struct auth_request *request)
|
|
const struct mech_module mech_gssapi = {
|
|
"GSSAPI",
|
|
|
|
- .flags = 0,
|
|
+ .flags = MECH_SEC_ALLOW_NULS,
|
|
.passdb_need = MECH_PASSDB_NEED_NOTHING,
|
|
|
|
mech_gssapi_auth_new,
|