From: Antony Dovgal Date: Mon, 16 Jan 2006 23:04:23 +0000 (+0000) Subject: MFH: fix #36038 (ext/hash compile failure on Mac OSX) X-Git-Tag: php-5.1.3RC1~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=694042e527173aa5801021017d7b065609d2151b;p=php MFH: fix #36038 (ext/hash compile failure on Mac OSX) --- diff --git a/NEWS b/NEWS index 7e5559e107..3233e0eca3 100644 --- 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) diff --git a/ext/hash/php_hash.h b/ext/hash/php_hash.h index 6f4891ae3f..4587f2b518 100644 --- a/ext/hash/php_hash.h +++ b/ext/hash/php_hash.h @@ -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++) {