svn: /php/php-src/branches/PHP_5_3/ NEWS ext/standard/crypt_sha512.c
| From: | Pierre Joye | Date: | Mon, 26 Apr 2010 10:34:53 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ NEWS ext/standard/crypt_sha512.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62413@lists.php.net to get a copy of this message | ||
pajoye Mon, 26 Apr 2010 10:34:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=298588
Log:
- Fix #51582, Don't assume UINT64_C it's ever available
Bug: http://bugs.php.net/51582 (Assigned) Don't assume
UINT64_C it's ever available
Changed paths:
U php/php-src/branches/PHP_5_3/NEWS
U php/php-src/branches/PHP_5_3/ext/standard/crypt_sha512.c
Modified: php/php-src/branches/PHP_5_3/NEWS
===================================================================
--- php/php-src/branches/PHP_5_3/NEWS 2010-04-26 10:34:06 UTC (rev 298587)
+++ php/php-src/branches/PHP_5_3/NEWS 2010-04-26 10:34:53 UTC (rev 298588)
@@ -41,6 +41,8 @@
(ejsmont dot artur at gmail dot com)
- Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
(Oracle Corp.)
+- Fixed bug #51582 (Don't assume UINT64_C it's ever available).
+ (reidrac at usebox dot net, Pierre)
- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection). (Felipe)
- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile
errors). (Felipe)
Modified: php/php-src/branches/PHP_5_3/ext/standard/crypt_sha512.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/crypt_sha512.c 2010-04-26 10:34:06 UTC (rev 298587)
+++ php/php-src/branches/PHP_5_3/ext/standard/crypt_sha512.c 2010-04-26 10:34:53 UTC (rev 298588)
@@ -53,6 +53,11 @@
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
+/* See #51582 */
+#ifndef UINT64_C
+# define UINT64_C(value) __CONCAT(value, ULL)
+#endif
+
/* Structure to save state of computation between the single steps. */
struct sha512_ctx
{