summaryrefslogtreecommitdiffstats
path: root/php-7.3.3-systzdata-v19.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-7.3.3-systzdata-v19.patch')
-rw-r--r--php-7.3.3-systzdata-v19.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-7.3.3-systzdata-v19.patch b/php-7.3.3-systzdata-v19.patch
index 866729b..17a01fe 100644
--- a/php-7.3.3-systzdata-v19.patch
+++ b/php-7.3.3-systzdata-v19.patch
@@ -452,7 +452,7 @@ index 020da3135e..12e68ef043 100644
+ 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);
+