diff options
author | Remi Collet <remi@remirepo.net> | 2023-04-21 15:23:08 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-04-21 15:23:08 +0200 |
commit | 2a7e6586b1089fc85e026967df15733c31a4c22c (patch) | |
tree | 5315bd53c5243b1c2a6648950f24081b41d553af /php-8.0.10-systzdata-v21.patch | |
parent | b2e552a8de8011d9c148988e981b2a5ebeeed10b (diff) |
use ICU 72.1
use oracle client library version 21.10
fix missing TZData version in intl phpinfo
fix possible buffer overflow in date
Diffstat (limited to 'php-8.0.10-systzdata-v21.patch')
-rw-r--r-- | php-8.0.10-systzdata-v21.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/php-8.0.10-systzdata-v21.patch b/php-8.0.10-systzdata-v21.patch index 779f538..699dc11 100644 --- a/php-8.0.10-systzdata-v21.patch +++ b/php-8.0.10-systzdata-v21.patch @@ -5,6 +5,7 @@ Add support for use of the system timezone database, rather than embedding a copy. Discussed upstream but was not desired. History: +r22: fix possible buffer overflow r21: retrieve tzdata version from /usr/share/zoneinfo/tzdata.zi r20: adapt for timelib 2020.03 (in 8.0.10RC1) r19: adapt for timelib 2020.02 (in 8.0.0beta2) @@ -454,7 +455,7 @@ index e9bd0f136d..c04ff01adc 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); + |