svn rev #23059: trunk/src/lib/crypto/krb/keyhash_provider/
epeisach@MIT.EDU
epeisach at MIT.EDU
Mon Oct 26 20:22:50 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23059
Commit By: epeisach
Log Message:
k5_hmac_md5_hash_iov: Initialize keyblock.length - so we do not invoke zapfree
with an uninitialized entry on error exit.
Changed Files:
U trunk/src/lib/crypto/krb/keyhash_provider/hmac_md5.c
Modified: trunk/src/lib/crypto/krb/keyhash_provider/hmac_md5.c
===================================================================
--- trunk/src/lib/crypto/krb/keyhash_provider/hmac_md5.c 2009-10-26 23:53:43 UTC (rev 23058)
+++ trunk/src/lib/crypto/krb/keyhash_provider/hmac_md5.c 2009-10-27 00:22:50 UTC (rev 23059)
@@ -104,6 +104,7 @@
size_t i;
keyblock.contents = NULL;
+ keyblock.length = 0;
ds.length = key->keyblock.length;
ds.data = malloc(ds.length);
More information about the cvs-krb5
mailing list