diff options
Diffstat (limited to 'php-7.1.0-systzdata-v14.patch')
-rw-r--r-- | php-7.1.0-systzdata-v14.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php-7.1.0-systzdata-v14.patch b/php-7.1.0-systzdata-v14.patch index bd73a4b..1ab782b 100644 --- a/php-7.1.0-systzdata-v14.patch +++ b/php-7.1.0-systzdata-v14.patch @@ -392,7 +392,7 @@ diff -up php-7.1.0RC4/ext/date/lib/parse_tz.c.systzdata php-7.1.0RC4/ext/date/li + size_t n; + char *data, *p; + -+ data = malloc(3 * sysdb->index_size + 7); ++ data = malloc(3 * sysdb->index_size + sizeof(FAKE_HEADER) - 1); + + p = mempcpy(data, FAKE_HEADER, sizeof(FAKE_HEADER) - 1); + |