diff --git a/0000-mysql-add-fstack-protector-strong.patch b/0000-mysql-add-fstack-protector-strong.patch index 0db062269e24d7cbee1901894b3a6b6d5c7789af..4e1e7bb6268c08c4eea65e350ee9aa292a843e4b 100644 --- a/0000-mysql-add-fstack-protector-strong.patch +++ b/0000-mysql-add-fstack-protector-strong.patch @@ -5,10 +5,10 @@ From d770dfea36dcbe8d63ad0819e796d180ab2ea638 Mon Sep 17 00:00:00 2001 1 file changed, 2 insertions(+) diff --git a/cmake/build_configurations/compiler_options.cmake b/cmake/build_configurations/compiler_options.cmake -index a319983..aea15a3 100644 +index a30eafe1..c548858e 100644 --- a/cmake/build_configurations/compiler_options.cmake +++ b/cmake/build_configurations/compiler_options.cmake -@@ -45,6 +45,7 @@ IF(UNIX) +@@ -38,6 +38,7 @@ IF(UNIX) # Default GCC flags IF(MY_COMPILER_IS_GNU) SET(COMMON_C_FLAGS "-fno-omit-frame-pointer") @@ -16,14 +16,14 @@ index a319983..aea15a3 100644 # Disable inline optimizations for valgrind testing to avoid false positives IF(WITH_VALGRIND) STRING_PREPEND(COMMON_C_FLAGS "-fno-inline ") -@@ -55,6 +56,7 @@ IF(UNIX) +@@ -48,6 +49,7 @@ IF(UNIX) ENDIF() - SET(COMMON_CXX_FLAGS "-std=c++14 -fno-omit-frame-pointer") + SET(COMMON_CXX_FLAGS "-std=c++17 -fno-omit-frame-pointer") + SET(COMMON_CXX_FLAGS "-fstack-protector-strong") # Disable inline optimizations for valgrind testing to avoid false positives IF(WITH_VALGRIND) STRING_PREPEND(COMMON_CXX_FLAGS "-fno-inline ") -- -2.23.0 +2.27.0 diff --git a/mysql-boost-8.0.26.tar.gz b/mysql-boost-8.0.27.tar.gz similarity index 91% rename from mysql-boost-8.0.26.tar.gz rename to mysql-boost-8.0.27.tar.gz index e48b2c877aac6211f955fce0f8bac4ecbc8d75b8..90a19c72843a6ad3548438c32854644f903045bc 100644 Binary files a/mysql-boost-8.0.26.tar.gz and b/mysql-boost-8.0.27.tar.gz differ diff --git a/mysql.spec b/mysql.spec index b4c8fd9a387b925bcd3db8d54a9d1771257cc941..df6b8ff7d917a677a3f8f8c9e4e88005c0fbc589 100644 --- a/mysql.spec +++ b/mysql.spec @@ -6,7 +6,7 @@ %global pkgnamepatch mysql %global boost_bundled_version 1.73.0 Name: mysql -Version: 8.0.26 +Version: 8.0.27 Release: 1 License: GPLv2 with exceptions and LGPLv2 and BSD Summary: The world's most popular open source database @@ -113,6 +113,14 @@ fi %exclude /usr/lib/debug %changelog +* Fri Oct 29 2021 yaoxin - 8.0.27-1 + Upgrade mysql to 8.0.27,fix CVES:CVE-2021-2471 CVE-2021-2478 CVE-2021-2479 + CVE-2021-2481 CVE-2021-35546 CVE-2021-35575 CVE-2021-35577 CVE-2021-35591 + CVE-2021-35596 CVE-2021-35597 CVE-2021-35602 CVE-2021-35604 CVE-2021-35607 + CVE-2021-35608 CVE-2021-35610 CVE-2021-35612 CVE-2021-35618 + CVE-2021-35621-to-CVE-2021-35636 CVE-2021-35638-to-CVE-2021-35642 + CVE-2021-35644-to-CVE-2021-35648 + * Mon Aug 2 2021 liwu - 8.0.26-1 - Upgrade mysql to 8.0.26,fix CVE-2021-2356,fix CVE-2021-2339,CVE-2021-2354 CVE-2021-2352,CVE-2021-2340