From 6f699dde6aee55fa7086f1cf8cb0811c1d1a4927 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sun, 6 Dec 2009 22:07:02 +0000 Subject: [PATCH] Initialize ihash_iov in case fall through to cleanup handler and try to free garbarge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23453 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/builtin/hmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/crypto/builtin/hmac.c b/src/lib/crypto/builtin/hmac.c index 19ed2ef9b..3cb4146eb 100644 --- a/src/lib/crypto/builtin/hmac.c +++ b/src/lib/crypto/builtin/hmac.c @@ -56,7 +56,7 @@ krb5int_hmac_keyblock(const struct krb5_hash_provider *hash, { unsigned char *xorkey = NULL, *ihash = NULL; unsigned int i; - krb5_crypto_iov *ihash_iov, ohash_iov[2]; + krb5_crypto_iov *ihash_iov = NULL, ohash_iov[2]; krb5_data hashout; krb5_error_code ret; -- 2.26.2