From: Zhanna Tsitkov Date: Fri, 5 Dec 2008 20:18:47 +0000 (+0000) Subject: Fix data initialization in process_as_req function X-Git-Tag: krb5-1.7-alpha1~177 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5fb682827a9bf683f0a02db312d6fe3a358167d2;p=krb5.git Fix data initialization in process_as_req function Ticket: 6282 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21291 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 0da9b4ad9..1fbe56fb0 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -2,7 +2,7 @@ * kdc/do_as_req.c * * Portions Copyright (C) 2007 Apple Inc. - * Copyright 1990,1991,2007 by the Massachusetts Institute of Technology. + * Copyright 1990,1991,2007,2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -98,7 +98,7 @@ process_as_req(krb5_kdc_req *request, krb5_data *req_pkt, ticket_reply.enc_part.ciphertext.data = 0; e_data.data = 0; encrypting_key.contents = 0; - reply.padata = 0; + memset(&reply, 0, sizeof(reply)); session_key.contents = 0; enc_tkt_reply.authorization_data = NULL;