Set error code on wrong lm.length.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19466 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -820,6 +820,7 @@ _kdc_do_digest(krb5_context context,
|
|||||||
if (ireq.u.ntlmRequest.lm.length != 24) {
|
if (ireq.u.ntlmRequest.lm.length != 24) {
|
||||||
krb5_set_error_string(context, "LM hash have wrong length "
|
krb5_set_error_string(context, "LM hash have wrong length "
|
||||||
"for NTLM session key");
|
"for NTLM session key");
|
||||||
|
ret = EINVAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user