projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670fee9
)
with an uninitialized entry on error exit
author
Ezra Peisach
<epeisach@mit.edu>
Tue, 27 Oct 2009 00:22:50 +0000
(
00:22
+0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Tue, 27 Oct 2009 00:22:50 +0000
(
00:22
+0000)
k5_hmac_md5_hash_iov: Initialize keyblock.length - so we do not invoke zapfree
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23059
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/crypto/krb/keyhash_provider/hmac_md5.c
patch
|
blob
|
history
diff --git
a/src/lib/crypto/krb/keyhash_provider/hmac_md5.c
b/src/lib/crypto/krb/keyhash_provider/hmac_md5.c
index ad29d28498c46b475e62e54b505330fd31a81d96..c1825be6a1d769dee14c19b4ebd2205e68560b7c 100644
(file)
--- a/
src/lib/crypto/krb/keyhash_provider/hmac_md5.c
+++ b/
src/lib/crypto/krb/keyhash_provider/hmac_md5.c
@@
-104,6
+104,7
@@
k5_hmac_md5_hash_iov (krb5_key key, krb5_keyusage usage,
size_t i;
keyblock.contents = NULL;
+ keyblock.length = 0;
ds.length = key->keyblock.length;
ds.data = malloc(ds.length);