unning "kinit --fast-armor-cache=xxx" against a Win2K3 domain resulted in a crash with the attached backtrace. FAST is not supported with RC4 keys which are used in Win2K3. The code already handles this but the error code is not propagated up the stack.
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
This commit is contained in:

committed by
Love Hörnquist Åstrand

parent
1b5b82183c
commit
0cc458463d
@@ -2542,7 +2542,7 @@ krb5_crypto_prfplus(krb5_context context,
|
||||
krb5_data_free(&input2);
|
||||
if (ret)
|
||||
krb5_data_free(output);
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2575,6 +2575,8 @@ krb5_crypto_fx_cf2(krb5_context context,
|
||||
size_t i, keysize;
|
||||
|
||||
memset(res, 0, sizeof(*res));
|
||||
krb5_data_zero(&os1);
|
||||
krb5_data_zero(&os2);
|
||||
|
||||
ret = krb5_enctype_keysize(context, enctype, &keysize);
|
||||
if (ret)
|
||||
|
Reference in New Issue
Block a user