git.samba.org
/
lorikeet-heimdal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e13ad
)
krb5: Fix FAST anon PKINIT leak
author
Nicolas Williams
<nico@twosigma.com>
Sat, 31 Dec 2022 06:51:46 +0000
(
00:51
-0600)
committer
Nicolas Williams
<nico@twosigma.com>
Wed, 4 Jan 2023 06:43:36 +0000
(
00:43
-0600)
lib/krb5/fast.c
patch
|
blob
|
history
diff --git
a/lib/krb5/fast.c
b/lib/krb5/fast.c
index 7da456ce6ed91ecd8430b41ec5e6830d1bac893d..338c4facfcca86205ea8b1df6ef18b962ce48824 100644
(file)
--- a/
lib/krb5/fast.c
+++ b/
lib/krb5/fast.c
@@
-883,7
+883,7
@@
_krb5_fast_anon_pkinit_step(krb5_context context,
ret = krb5_make_principal(context, &principal, realm,
KRB5_WELLKNOWN_NAME, KRB5_ANON_NAME, NULL);
if (ret)
-
return re
t;
+
goto ou
t;
ret = krb5_get_init_creds_opt_set_pkinit(context,
state->anon_pkinit_opt,