diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-11-22 13:12:28 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-11-22 13:12:28 +0000 |
commit | 50e6d20d3ca0e6e2c0e07ec9d17184d701151c9d (patch) | |
tree | 036aa6f1a2a7882e931e509af986d3d9004cb674 /ext/hash | |
parent | 8d82e961034f836153c54ba52f154609d9d4200b (diff) | |
download | php-git-50e6d20d3ca0e6e2c0e07ec9d17184d701151c9d.tar.gz |
Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
Diffstat (limited to 'ext/hash')
-rw-r--r-- | ext/hash/php_hash_tiger.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |