svn: /php/php-src/ branches/PHP_5_3/ext/hash/php_hash_tiger.h trunk/ext/hash/php_hash_tiger.h
| From: | Ilia Alshanetsky | Date: | Mon, 22 Nov 2010 13:12:28 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/hash/php_hash_tiger.h trunk/ext/hash/php_hash_tiger.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-63946@lists.php.net to get a copy of this message | ||
iliaa Mon, 22 Nov 2010 13:12:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=305650
Log:
Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
Bug: http://bugs.php.net/51003 (Assigned) unaligned memory
access in ext/hash/hash_tiger.c
Changed paths:
U php/php-src/branches/PHP_5_3/ext/hash/php_hash_tiger.h
U php/php-src/trunk/ext/hash/php_hash_tiger.h
Modified: php/php-src/branches/PHP_5_3/ext/hash/php_hash_tiger.h
===================================================================
--- php/php-src/branches/PHP_5_3/ext/hash/php_hash_tiger.h 2010-11-22 13:10:13 UTC (rev 305649)
+++ php/php-src/branches/PHP_5_3/ext/hash/php_hash_tiger.h 2010-11-22 13:12:28 UTC (rev 305650)
@@ -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);
Modified: php/php-src/trunk/ext/hash/php_hash_tiger.h
===================================================================
--- php/php-src/trunk/ext/hash/php_hash_tiger.h 2010-11-22 13:10:13 UTC (rev 305649)
+++ php/php-src/trunk/ext/hash/php_hash_tiger.h 2010-11-22 13:12:28 UTC (rev 305650)
@@ -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);