samba/backport-0016-CVE-2022-37966.patch

35 lines
1.3 KiB
Diff

From 771807b9693866096e7a8bcf0b0659bb35528177 Mon Sep 17 00:00:00 2001
From: Joseph Sutton <josephsutton@catalyst.net.nz>
Date: Mon, 21 Nov 2022 14:01:47 +1300
Subject: [PATCH 16/54] CVE-2022-37966 third_party/heimdal: Fix error message
typo
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit d6b3d68efc296190a133b4e38137bdfde39257f4)
Conflict: NA
Reference: https://attachments.samba.org/attachment.cgi?id=17695
---
third_party/heimdal/lib/krb5/init_creds_pw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/third_party/heimdal/lib/krb5/init_creds_pw.c b/third_party/heimdal/lib/krb5/init_creds_pw.c
index 4173837779b0..9257886530ac 100644
--- a/third_party/heimdal/lib/krb5/init_creds_pw.c
+++ b/third_party/heimdal/lib/krb5/init_creds_pw.c
@@ -3214,7 +3214,7 @@ init_creds_step(krb5_context context,
if (available_padata_count(&ctx->md) == 0) {
krb5_set_error_message(context, ret,
N_("Preauth required but no preauth "
- "options send by KDC", ""));
+ "options sent by KDC", ""));
goto out;
}
} else if (ret == KRB5KRB_AP_ERR_SKEW && context->kdc_sec_offset == 0) {
--
2.34.1