From 50e6d20d3ca0e6e2c0e07ec9d17184d701151c9d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 22 Nov 2010 13:12:28 +0000 Subject: [PATCH] Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c). --- ext/hash/php_hash_tiger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/hash/php_hash_tiger.h b/ext/hash/php_hash_tiger.h index 8a8dc7011e..5b68a10a3e 100644 --- a/ext/hash/php_hash_tiger.h +++ b/ext/hash/php_hash_tiger.h @@ -25,9 +25,9 @@ typedef struct { php_hash_uint64 state[3]; php_hash_uint64 passed; + unsigned char buffer[64]; unsigned int passes:1; unsigned int length:7; - unsigned char buffer[64]; } PHP_TIGER_CTX; PHP_HASH_API void PHP_3TIGERInit(PHP_TIGER_CTX *context); -- 2.40.0