diff options
author | Ezra Peisach <epeisach@mit.edu> | 2009-12-06 22:07:02 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2009-12-06 22:07:02 +0000 |
commit | 6f699dde6aee55fa7086f1cf8cb0811c1d1a4927 (patch) | |
tree | 706e1144b473c3f2a34e8e109f50911e61ec7d0d | |
parent | 5b3eeda8b9d73acbd042c0fe332d8a05bf7ab4b0 (diff) | |
download | krb5-6f699dde6aee55fa7086f1cf8cb0811c1d1a4927.zip krb5-6f699dde6aee55fa7086f1cf8cb0811c1d1a4927.tar.gz krb5-6f699dde6aee55fa7086f1cf8cb0811c1d1a4927.tar.bz2 |
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
-rw-r--r-- | src/lib/crypto/builtin/hmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypto/builtin/hmac.c b/src/lib/crypto/builtin/hmac.c index 19ed2ef..3cb4146 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; |