mirror of
https://github.com/samba-team/samba.git
synced 2025-01-06 13:18:07 +03:00
CVE-2020-25719 heimdal:kdc: Check return code
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
45ff2b3236
commit
46aeacff8a
@ -1361,7 +1361,10 @@ tgs_build_reply(krb5_context context,
|
||||
ret = KRB5KDC_ERR_POLICY;
|
||||
goto out;
|
||||
}
|
||||
_krb5_principalname2krb5_principal(context, &p, t->sname, t->realm);
|
||||
ret = _krb5_principalname2krb5_principal(context, &p, t->sname, t->realm);
|
||||
if (ret) {
|
||||
goto out;
|
||||
}
|
||||
if(t->enc_part.kvno){
|
||||
second_kvno = *t->enc_part.kvno;
|
||||
kvno_ptr = &second_kvno;
|
||||
|
Loading…
Reference in New Issue
Block a user