From cef7f880c8bd2b3db35977296f28738da4679040 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 31 Dec 2009 03:37:37 +0000 Subject: [PATCH] Initialize hash_iov, in case of premature error exit git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23551 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/krb/checksum/confounder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2