Hello community, here is the log from the commit of package mariadb for openSUSE:Factory checked in at 2017-03-21 22:44:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mariadb (Old) and /work/SRC/openSUSE:Factory/.mariadb.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb" Tue Mar 21 22:44:05 2017 rev:55 rq:479950 version:10.1.22 Changes: -------- --- /work/SRC/openSUSE:Factory/mariadb/mariadb.changes 2017-02-20 13:11:54.375371422 +0100 +++ /work/SRC/openSUSE:Factory/.mariadb.new/mariadb.changes 2017-03-21 22:44:07.752756779 +0100 @@ -1,0 +2,28 @@ +Wed Mar 15 18:42:17 UTC 2017 - kstreit...@suse.com + +- update to MariaDB 10.1.22 GA + * notable changes + * XtraDB updated to 5.6.35-80.0 + * TokuDB updated to 5.6.35-80.0 + * PCRE updated to 8.40 + * MDEV-12160: ed25519 authentication plugin + * MDEV-11842: Fix a 10.1.21 regression with failed INSERT, BEFORE + INSERT triggers, and columns with no default value + * MDEV-12075: Fix a 10.1.21 regression in the InnoDB data file + extension code + * MDEV-11027: better InnoDB crash recovery progress reporting + * MDEV-11520: improvements to how InnoDB data files are extended + * Improvements to InnoDB startup/shutdown to make it more robust + * MDEV-11233: fix for FULLTEXT index crash + * MDEV-9734: systemd compatible bintar files now available + * release notes and changelog: + * https://mariadb.com/kb/en/mariadb/mariadb-10122-release-notes/ + * https://mariadb.com/kb/en/mariadb/mariadb-10122-changelog/ + * fixes the following CVEs: + * CVE-2017-3313 [bsc#1020890], CVE-2017-3302 [bsc#1022428] +- refresh mysql-community-server-5.1.46-logrotate.patch +- refresh mariadb-10.1.16-systemd-cmake.patch +- remove mariadb-10.1.20-incorrect_list_handling.patch that is no + longer needed [bsc#1022428] [CVE-2017-3302] + +------------------------------------------------------------------- Old: ---- mariadb-10.1.21.tar.gz New: ---- mariadb-10.1.22.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mariadb.spec ++++++ --- /var/tmp/diff_new_pack.dGZC3X/_old 2017-03-21 22:44:11.744192485 +0100 +++ /var/tmp/diff_new_pack.dGZC3X/_new 2017-03-21 22:44:11.748191920 +0100 @@ -43,7 +43,7 @@ %define with_cassandra 0 %endif Name: mariadb -Version: 10.1.21 +Version: 10.1.22 Release: 0 Summary: Server part of %{pretty_name} License: SUSE-GPL-2.0-with-FLOSS-exception ++++++ configuration-tweaks.tar.xz ++++++ ++++++ mariadb-10.1.21.tar.gz -> mariadb-10.1.22.tar.gz ++++++ /work/SRC/openSUSE:Factory/mariadb/mariadb-10.1.21.tar.gz /work/SRC/openSUSE:Factory/.mariadb.new/mariadb-10.1.22.tar.gz differ: char 5, line 1 ++++++ mysql-patches.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch new/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch --- old/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch 2016-08-12 11:59:31.221436485 +0200 +++ new/mysql-patches/mysql-patches/mariadb-10.1.16-systemd-cmake.patch 2017-03-15 18:14:43.247637250 +0100 @@ -6,14 +6,14 @@ Maintainer: Kristyna Streitova <kstreit...@suse.cz> -Index: mariadb-10.1.14/cmake/systemd.cmake +Index: mariadb-10.1.22/cmake/systemd.cmake =================================================================== ---- mariadb-10.1.14.orig/cmake/systemd.cmake -+++ mariadb-10.1.14/cmake/systemd.cmake +--- mariadb-10.1.22.orig/cmake/systemd.cmake ++++ mariadb-10.1.22/cmake/systemd.cmake @@ -19,9 +19,9 @@ INCLUDE(FindPkgConfig) MACRO(CHECK_SYSTEMD) IF(UNIX) - SET(WITH_SYSTEMD "auto" CACHE STRING "Compile with systemd socket activation and notification") + SET(WITH_SYSTEMD "auto" CACHE STRING "Enable systemd scripts and notification support") - IF(WITH_SYSTEMD STREQUAL "yes" OR WITH_SYSTEMD STREQUAL "auto") + IF(WITH_SYSTEMD OR WITH_SYSTEMD STREQUAL "auto") IF(PKG_CONFIG_FOUND) @@ -22,7 +22,7 @@ pkg_search_module(LIBSYSTEMD REQUIRED libsystemd libsystemd-daemon) ELSE() pkg_search_module(LIBSYSTEMD libsystemd libsystemd-daemon) -@@ -74,7 +74,7 @@ MACRO(CHECK_SYSTEMD) +@@ -75,7 +75,7 @@ MACRO(CHECK_SYSTEMD) UNSET(HAVE_SYSTEMD_SD_NOTIFY) UNSET(HAVE_SYSTEMD_SD_NOTIFYF) MESSAGE(STATUS "Systemd features not enabled") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch new/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch --- old/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch 2017-01-31 11:05:33.433560970 +0100 +++ new/mysql-patches/mysql-patches/mariadb-10.1.20-incorrect_list_handling.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,77 +0,0 @@ -PATCH-P1-FIX: Fix incorrect linked list handling - -More information can be found below. - -Maintainer: Kristyna Streitova <kstreit...@suse.com> - -From 4797ea0b772d5f4c5889bc552424132806f46e93 Mon Sep 17 00:00:00 2001 -From: Nisha Gopalakrishnan <nisha.gopalakrish...@oracle.com> -Date: Mon, 21 Jul 2014 21:21:15 +0530 -Subject: [PATCH] BUG#17512527: LIST HANDLING INCORRECT IN - MYSQL_PRUNE_STMT_LIST() - -Analysis: ---------- -Invalid memory access maybe observed when using prepared statements if: -a) The mysql client connection is lost after statement preparation - is complete and -b) There is at least one statement which is in initialized state but - not prepared yet. - -When the client detects a closed connection, it calls end_server() -to shutdown the connection. As part of the clean up, the -mysql_prune_stmt_list() removes the statements which has transitioned -beyond the initialized state and retains only the statements which -are in a initialized state. During this processing, the initialized -statements are moved from 'mysql->stmts' to a temporary 'pruned_list'. -When moving the first 'INIT_DONE' element to the pruned_list, -'element->next' is set to NULL. Hence the rest of the list is never -traversed and the statements which have transitioned beyond the -initialized state are never invalidated. - -When the mysql_stmt_close() is called for the statement which is not -invalidated; the statements list is updated in order to remove the -statement. This would end up accessing freed memory(freed by the -mysql_stmt_close() for a previous statement in the list). - -Fix: ---- -mysql_prune_stmt_list() called list_add() incorrectly to create a -temporary list. The use case of list_add() is to add a single -element to the front of the doubly linked list. -mysql_prune_stmt_list() called list_add() by passing an entire -list as the 'element'. - -mysql_prune_stmt_list() now uses list_delete() to remove the -statement which has transitioned beyond the initialized phase. -Thus the statement list would contain only elements where the -the state of the statement is initialized. - -Note: Run the test with valgrind-mysqltest and leak-check=full -option to see the invalid memory access. ---- - -diff --git a/sql-common/client.c b/sql-common/client.c -index eefb8a8..012292f 100644 ---- a/sql-common/client.c -+++ b/sql-common/client.c -@@ -3985,12 +3985,15 @@ static void mysql_close_free(MYSQL *mysql) - */ - static void mysql_prune_stmt_list(MYSQL *mysql) - { -- LIST *element= mysql->stmts; -- LIST *pruned_list= 0; -+ LIST *pruned_list= NULL; - -- for (; element; element= element->next) -+ while(mysql->stmts) - { -- MYSQL_STMT *stmt= (MYSQL_STMT *) element->data; -+ LIST *element= mysql->stmts; -+ MYSQL_STMT *stmt; -+ -+ mysql->stmts= list_delete(element, element); -+ stmt= (MYSQL_STMT *) element->data; - if (stmt->state != MYSQL_STMT_INIT_DONE) - { - stmt->mysql= 0; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mysql-patches/mysql-patches/mysql-community-server-5.1.46-logrotate.patch new/mysql-patches/mysql-patches/mysql-community-server-5.1.46-logrotate.patch --- old/mysql-patches/mysql-patches/mysql-community-server-5.1.46-logrotate.patch 2016-10-17 19:41:58.379736840 +0200 +++ new/mysql-patches/mysql-patches/mysql-community-server-5.1.46-logrotate.patch 2017-03-15 17:03:23.624761794 +0100 @@ -18,10 +18,10 @@ # create 600 mysql mysql notifempty daily -@@ -31,6 +31,14 @@ - @bindir@/mysqladmin ping &>/dev/null +@@ -32,6 +32,14 @@ then - @bindir@/mysqladmin flush-logs + @bindir@/mysqladmin --local flush-error-log \ + flush-engine-log flush-general-log flush-slow-log + ret=$? + if test $ret -ne 0 + then ++++++ series ++++++ --- /var/tmp/diff_new_pack.dGZC3X/_old 2017-03-21 22:44:12.084144424 +0100 +++ /var/tmp/diff_new_pack.dGZC3X/_new 2017-03-21 22:44:12.084144424 +0100 @@ -10,4 +10,3 @@ mariadb-10.1.12-fortify-and-O.patch mariadb-10.1.16-systemd-cmake.patch mariadb-10.1.18-mysql_install_db-mariadb_dirs.patch -mariadb-10.1.20-incorrect_list_handling.patch