svn rev #23453: trunk/src/lib/crypto/builtin/

epeisach@MIT.EDU epeisach at MIT.EDU
Sun Dec 6 17:07:02 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23453
Commit By: epeisach
Log Message:
Initialize ihash_iov in case fall through to cleanup handler and try
to free garbarge.





Changed Files:
U   trunk/src/lib/crypto/builtin/hmac.c
Modified: trunk/src/lib/crypto/builtin/hmac.c
===================================================================
--- trunk/src/lib/crypto/builtin/hmac.c	2009-12-06 20:55:16 UTC (rev 23452)
+++ trunk/src/lib/crypto/builtin/hmac.c	2009-12-06 22:07:02 UTC (rev 23453)
@@ -56,7 +56,7 @@
 {
     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;
 




More information about the cvs-krb5 mailing list