(krb5_verify_ap_req2): clear the whole ticket, not just a pointer size of it
From: Luke Howard <lukeh@padl.com> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13822 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -294,7 +294,7 @@ krb5_verify_ap_req2(krb5_context context,
|
||||
krb5_clear_error_string (context);
|
||||
goto out;
|
||||
}
|
||||
memset(t, 0, sizeof(t));
|
||||
memset(t, 0, sizeof(*t));
|
||||
|
||||
if (ap_req->ap_options.use_session_key && ac->keyblock){
|
||||
ret = krb5_decrypt_ticket(context, &ap_req->ticket,
|
||||
|
Reference in New Issue
Block a user