Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
-
5.5.45, 10.1.8-4, 5.5.47-1, 10.0.23, 5.5.48-0
Description
Apply SUSE patches from https://github.com/openSUSE/mysql-packaging/
10.0
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mysql-community-server-5.1.45-multi-configuration.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mysql-community-server-5.1.46-logrotate.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.5.28-install_db-quiet.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.15-mysqld_multi-features.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.2.3-cnf.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mysql-community-server-5.5.6-safe-process-in-bin.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.17-group.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.24-fortify-and-O.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.15-logrotate-su.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.21-mysql-test_main_bootstrap.patch
10.1
10.2
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.2.3-group.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.2.3-mysql_install_db-mariadb_dirs.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.2.3-systemd-cmake.patch
Processed
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.1.4-no-return-in-nonvoid-function.patch
should have been fixed by rev. bfabaf64866203b79b6ef251c89e31219ec05d9d
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.5.41-mariadb-admincrash.patch
should have been fixed by rev. 053143efe1a78184c3dc5e6c20f6f4c59491cb7e
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.5.28-hotcopy.patch
should have been fixed by rev. f34a731b6a3ae0b2f1d9a3e8f9d987873ceaf32b
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.20-tabxml-bufferoverflowstrncat.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.1.5-tabxml-bufferoverflowstrncat.patch
To be fixed withinMDEV-8317.
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.1.50-strncat-overflow.patch
This patch suggests to subtract strlen(buff) twice. Looks like incorrect port from MySQL. There's no possible buffer overrun in MariaDB anyway.
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.5.32-upgrade-exit-status.patch
Applied, rev. bfe2689cf642aac122c8cf8493863dff38f69558
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mysql-community-server-5.1.51-mysql_config.patch
Couldn't reproduce this bug as described at https://bugs.mysql.com/bug.php?id=39175. Build system went through substantial changes since this patch was relevant. At least there's no SAVE_LDFLAGS variable now.
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mysql-community-server-5.6.12-srv_buf_size.patch
Applied, https://github.com/MariaDB/server/commit/bb22eb55dba5ebe41af2f554e74520d66bbbcf26
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.16-header_files_const_warnings.patch
Applied, https://github.com/MariaDB/server/commit/727da9c8ec0e6f4baa3f03e0c4b6a11846611417
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.0.10-string-overflow.patch
Roughly speaking Coverity complains that code like "strncpy(dst[N], src[N], N)" might leave the destination string unterminated, which is only possible if source string unterminated too. This looks like false positive by Coverity. I don't like idea of hiding unterminated source string here. Won't apply.
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-5.5.33-deharcode-libdir.patch
- https://github.com/openSUSE/mysql-packaging/blob/master/patches/mysql-patches/mariadb-10.1.12-deharcode-libdir.patch
INSTALL_LIBDIR_RPM and INSTALL_PLUGINDIR_RPM are internal variables and not supposed to be set by users. Please adjust your scripts to use INSTALL_LIBDIR and INSTALL_PLUGINDIR instead.
Attachments
Issue Links
- includes
-
MDEV-7883 Segmentation failure when running mysqladmin -u root -p
- Closed
-
MDEV-8317 [PATCH] Possible overflowing a buffer in strncat
- Closed
-
MDEV-9265 SuSE patches: Suspicious implicit sign extension
- Closed
-
MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
- Closed
- is blocked by
-
MDEV-27477 Remaining SUSE patches for 10.2+
- Closed
- links to
(2 links to)