From: Ken Raeburn Date: Thu, 31 Dec 2009 03:37:37 +0000 (+0000) Subject: Initialize hash_iov, in case of premature error exit X-Git-Tag: krb5-1.8-alpha1~39 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cef7f880c8bd2b3db35977296f28738da4679040;p=krb5.git Initialize hash_iov, in case of premature error exit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23551 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/krb/checksum/confounder.c b/src/lib/crypto/krb/checksum/confounder.c index 6429a195f..d74ad380f 100644 --- a/src/lib/crypto/krb/checksum/confounder.c +++ b/src/lib/crypto/krb/checksum/confounder.c @@ -115,7 +115,7 @@ krb5_error_code krb5int_confounder_verify(const struct krb5_cksumtypes *ctp, unsigned char *plaintext = NULL; krb5_key xorkey = NULL; krb5_data computed = empty_data(); - krb5_crypto_iov *hash_iov, iov; + krb5_crypto_iov *hash_iov = NULL, iov; size_t blocksize = ctp->enc->block_size, hashsize = ctp->hash->hashsize; plaintext = k5alloc(input->length, &ret);