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,
|