[packages/php/PHP_7_2] Rel 25; fix uninitialised ibase timestamp in types.patch
arekm
arekm at pld-linux.org
Thu Oct 22 12:33:25 CEST 2026
commit 27b6e38f34695fde3792eaf11c9a474c1d4bad4e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Oct 22 11:24:54 2026 +0200
Rel 25; fix uninitialised ibase timestamp in types.patch
php.spec | 2 +-
types.patch | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/php.spec b/php.spec
index 06dad80..610a4f4 100644
--- a/php.spec
+++ b/php.spec
@@ -155,7 +155,7 @@ Summary(ru.UTF-8): PHP Версии 7 - язык препроцессирова
Summary(uk.UTF-8): PHP Версії 7 - мова препроцесування HTML-файлів, виконувана на сервері
Name: %{orgname}%{php_suffix}
Version: 7.2.34
-Release: 24
+Release: 25
Epoch: 4
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
diff --git a/types.patch b/types.patch
index ae8918b..a24b733 100644
--- a/types.patch
+++ b/types.patch
@@ -121,17 +121,16 @@
*gc_data_count = 0;
--- php-7.3.33/ext/interbase/ibase_query.c.orig 2021-11-16 12:18:38.000000000 +0100
+++ php-7.3.33/ext/interbase/ibase_query.c 2025-01-23 20:08:11.773054372 +0100
-@@ -695,10 +695,12 @@
+@@ -695,10 +695,11 @@
case SQL_TYPE_TIME:
if (Z_TYPE_P(b_var) == IS_LONG) {
struct tm *res;
- res = php_gmtime_r(&Z_LVAL_P(b_var), &t);
-+ time_t ts;
++ time_t ts = Z_LVAL_P(b_var);
+ res = php_gmtime_r(&ts, &t);
if (!res) {
return FAILURE;
}
-+ Z_LVAL_P(b_var) = (zend_long) ts;
} else {
#ifdef HAVE_STRPTIME
char *format = INI_STR("ibase.timestampformat");
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/27b6e38f34695fde3792eaf11c9a474c1d4bad4e
More information about the pld-cvs-commit
mailing list