php5: bump to 5.6.32

Fixes since 5.6.26:
 - ton of bugs
 - CVE-2016-9933
 - CVE-2016-9934
 - CVE-2016-9935
 - CVE-2016-10158
 - CVE-2016-10167
 - CVE-2016-10168
 - CVE-2016-10159
 - CVE-2016-10160
 - CVE-2016-10161
 - CVE-2017-7890
 - CVE-2017-9224
 - CVE-2017-9226
 - CVE-2017-9227
 - CVE-2017-9228
 - CVE-2017-9229
 - CVE-2016-1283

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
This commit is contained in:
Zoltan HERPAI
2017-11-10 22:12:34 +01:00
parent b8a8d398de
commit 4273641178
4 changed files with 12 additions and 17 deletions
@@ -20,9 +20,9 @@ r1: initial revision
--- a/ext/date/lib/parse_tz.c
+++ b/ext/date/lib/parse_tz.c
@@ -18,8 +18,22 @@
/* $Id$ */
@@ -22,8 +22,22 @@
* THE SOFTWARE.
*/
+#ifndef PATH_MAX
+#define PATH_MAX 4096
@@ -43,7 +43,7 @@ r1: initial revision
#include <stdio.h>
#ifdef HAVE_LOCALE_H
@@ -32,8 +46,12 @@
@@ -36,8 +50,12 @@
#include <strings.h>
#endif
@@ -56,7 +56,7 @@ r1: initial revision
#if (defined(__APPLE__) || defined(__APPLE_CC__)) && (defined(__BIG_ENDIAN__) || defined(__LITTLE_ENDIAN__))
# if defined(__LITTLE_ENDIAN__)
@@ -55,6 +73,11 @@ static int read_preamble(const unsigned
@@ -59,6 +77,11 @@ static int read_preamble(const unsigned
{
uint32_t version;
@@ -68,7 +68,7 @@ r1: initial revision
/* read ID */
version = (*tzf)[3] - '0';
*tzf += 4;
@@ -298,7 +321,406 @@ void timelib_dump_tzinfo(timelib_tzinfo
@@ -302,7 +325,406 @@ void timelib_dump_tzinfo(timelib_tzinfo
}
}
@@ -476,7 +476,7 @@ r1: initial revision
{
int left = 0, right = tzdb->index_size - 1;
#ifdef HAVE_SETLOCALE
@@ -337,21 +759,90 @@ static int seek_to_tz_position(const uns
@@ -341,21 +763,90 @@ static int seek_to_tz_position(const uns
return 0;
}
@@ -568,7 +568,7 @@ r1: initial revision
}
static void skip_64bit_preamble(const unsigned char **tzf, timelib_tzinfo *tz)
@@ -376,10 +867,12 @@ static void read_64bit_header(const unsi
@@ -380,10 +871,12 @@ static void read_64bit_header(const unsi
timelib_tzinfo *timelib_parse_tzfile(char *timezone, const timelib_tzdb *tzdb)
{
const unsigned char *tzf;
@@ -582,7 +582,7 @@ r1: initial revision
tmp = timelib_tzinfo_ctor(timezone);
version = read_preamble(&tzf, tmp);
@@ -393,7 +886,34 @@ timelib_tzinfo *timelib_parse_tzfile(cha
@@ -397,7 +890,34 @@ timelib_tzinfo *timelib_parse_tzfile(cha
skip_64bit_types(&tzf, tmp);
skip_posix_string(&tzf, tmp);
}