]> granicus.if.org Git - php/commitdiff
- init hval
authorPierre Joye <pajoye@php.net>
Thu, 25 Mar 2010 10:00:31 +0000 (10:00 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 25 Mar 2010 10:00:31 +0000 (10:00 +0000)
ext/hash/hash_joaat.c

index 7603765b972851e9ffc5145ecf22cf4e8eb0e501..aa0770c47f0a90e6ab15bf1165d094e6cdbc46e2 100644 (file)
@@ -73,7 +73,7 @@ PHP_HASH_API void PHP_JOAATFinal(unsigned char digest[4], PHP_JOAAT_CTX * contex
 static php_hash_uint32
 joaat_buf(void *buf, size_t len)
 {
-    php_hash_uint32 hval;
+    php_hash_uint32 hval = 0;
     size_t i;
     unsigned char *input = (unsigned char *)buf;