summaryrefslogtreecommitdiffstats
path: root/php.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-06-07 13:50:50 +0200
committerRemi Collet <remi@php.net>2022-06-07 13:50:50 +0200
commit2f58ffda72fa3c0f60ac62d49396bc194148f89c (patch)
tree4191786f5e6027cd4c3709b6567ff9bce2b55cb2 /php.spec
parent83aca909131d264cb26a2ea39397548cc1dd6793 (diff)
use oracle client library version 21.6
mysqlnd: fix #81719: mysqlnd/pdo password buffer overflow. CVE-2022-31626 pgsql: fix #81720: Uninitialized array in pg_query_params(). CVE-2022-31625
Diffstat (limited to 'php.spec')
-rw-r--r--php.spec22
1 files changed, 13 insertions, 9 deletions
diff --git a/php.spec b/php.spec
index 187fc64..83a5de0 100644
--- a/php.spec
+++ b/php.spec
@@ -55,7 +55,7 @@
%global mysql_sock %(mysql_config --socket 2>/dev/null || echo /var/lib/mysql/mysql.sock)
-%global oraclever 21.3
+%global oraclever 21.6
%global oraclelib 21.1
# Build for LiteSpeed Web Server (LSAPI)
@@ -126,7 +126,7 @@
Summary: PHP scripting language for creating dynamic web sites
Name: %{?scl_prefix}php
Version: %{upver}%{?rcver:~%{rcver}}
-Release: 19%{?dist}
+Release: 20%{?dist}
# All files licensed under PHP version 3.01, except
# Zend is licensed under Zend
# TSRM is licensed under BSD
@@ -219,6 +219,8 @@ Patch226: php-bug76450.patch
Patch227: php-bug81211.patch
Patch228: php-bug81026.patch
Patch229: php-bug79971.patch
+Patch230: php-bug81719.patch
+Patch231: php-bug81720.patch
# Fixes for tests (300+)
# Factory is droped from system tzdata
@@ -740,12 +742,7 @@ Requires: %{?scl_prefix}php-common%{?_isa} = %{version}-%{release}
BuildRequires: libjpeg-devel, libpng-devel, freetype-devel
BuildRequires: libXpm-devel
%if %{with_libgd}
-BuildRequires: gd-devel >= 2.1.1
-%if 0%{?fedora} <= 19 && 0%{?rhel} <= 7
-Requires: gd-last%{?_isa} >= 2.1.1
-%else
-Requires: gd%{?_isa} >= 2.1.1
-%endif
+BuildRequires: gd-devel >= 2.3.3
%else
BuildRequires: libwebp-devel
%endif
@@ -983,6 +980,8 @@ sed -e 's/php-devel/%{?scl_prefix}php-devel/' -i scripts/phpize.in
%patch227 -p1 -b .bug81211
%patch228 -p1 -b .bug81026
%patch229 -p1 -b .bug79971
+%patch230 -p1 -b .bug81719
+%patch231 -p1 -b .bug81720
# Fixes for tests
%patch300 -p1 -b .datetests
@@ -1762,7 +1761,7 @@ cat << EOF
WARNING : PHP 7.1 have reached its "End of Life" in
December 2019. Even, if this package includes some of
- the important security fix, backported from 7.3, the
+ the important security fix, backported from 7.4, the
UPGRADE to a maintained version is very strongly RECOMMENDED.
=====================================================================
@@ -1946,6 +1945,11 @@ EOF
%changelog
+* Tue Jun 7 2022 Remi Collet <remi@remirepo.net> - 7.1.33-20
+- use oracle client library version 21.6
+- mysqlnd: fix #81719: mysqlnd/pdo password buffer overflow. CVE-2022-31626
+- pgsql: fix #81720: Uninitialized array in pg_query_params(). CVE-2022-31625
+
* Mon Nov 15 2021 Remi Collet <remi@remirepo.net> - 7.1.33-19
- Fix #79971 special character is breaking the path in xml function
CVE-2021-21707