]> granicus.if.org Git - php/commitdiff
MFH: fix #36038 (ext/hash compile failure on Mac OSX)
authorAntony Dovgal <tony2001@php.net>
Mon, 16 Jan 2006 23:04:23 +0000 (23:04 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 16 Jan 2006 23:04:23 +0000 (23:04 +0000)
NEWS
ext/hash/php_hash.h

diff --git a/NEWS b/NEWS
index 7e5559e107734da344eadba02e20ed46c6c44a5e..3233e0eca3db651d90b44c2e88964d4bf46ac368 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ PHP                                                                        NEWS
 - Added "consumed" stream filter. (Marcus)
 - Added new mysqli constants for BIT and NEW_DECIMAL field types:
   MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg)
+- Fixed bug #36038 (ext/hash compile failure on Mac OSX). (Tony)
 - Fixed bug #36016 (realpath cache memleaks). (Dmitry, Nuno)
 - Fixed bug #36011 (Strict errormsg wrong for call_user_func() and the likes).
   (Marcus)
index 6f4891ae3f68e9f67488b05fb041a3c62472b5ba..4587f2b518db4beb5135d660fc2a8b672eeb7e6a 100644 (file)
@@ -122,7 +122,7 @@ PHP_HASH_API void php_hash_register_algo(const char *algo, php_hash_ops *ops);
 
 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int in_len)
 {
-       static const char hexits[16] = "0123456789abcdef";
+       static const char hexits[17] = "0123456789abcdef";
        int i;
 
        for(i = 0; i < in_len; i++) {