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)
Activity
Assignee | Sergey Vojtovich [ svoj ] |
Sprint | 5.5.45 [ 9 ] |
Rank | Ranked lower |
Assignee | Sergey Vojtovich [ svoj ] | Sergei Golubchik [ serg ] |
Status | Open [ 1 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Sergey Vojtovich [ svoj ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Remote Link | This issue links to "Github revision for an up to date mysql_upgrade exit status fix (Web Link)" [ 24206 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Sprint | 5.5.45 [ 9 ] | 5.5.45, 10.1.7-1 [ 9, 10 ] |
Rank | Ranked higher |
Sprint | 5.5.45, 10.1.7-1 [ 9, 10 ] | 5.5.45 [ 9 ] |
Sprint | 5.5.45 [ 9 ] | 5.5.45, 10.1.8-4 [ 9, 16 ] |
Rank | Ranked higher |
Rank | Ranked higher |
Sprint | 5.5.45, 10.1.8-4 [ 9, 16 ] | 5.5.45, 10.1.8-4, 5.5.47-1 [ 9, 16, 22 ] |
Rank | Ranked lower |
Rank | Ranked higher |
Sprint | 5.5.45, 10.1.8-4, 5.5.47-1 [ 9, 16, 22 ] | 5.5.45, 10.1.8-4, 5.5.47-1, 10.0.23-1 [ 9, 16, 22, 23 ] |
Rank | Ranked lower |
Assignee | Sergey Vojtovich [ svoj ] | Sergei Golubchik [ serg ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Sergei Golubchik [ serg ] | Sergey Vojtovich [ svoj ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Rank | Ranked higher |
Status | Stalled [ 10000 ] | Confirmed [ 10101 ] |
Assignee | Sergey Vojtovich [ svoj ] | Sergei Golubchik [ serg ] |
Sprint | 5.5.45, 10.1.8-4, 5.5.47-1, 10.0.23 [ 9, 16, 22, 23 ] | 5.5.45, 10.1.8-4, 5.5.47-1, 10.0.23, 5.5.48-0 [ 9, 16, 22, 23, 33 ] |
Rank | Ranked higher |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] | Sergey Vojtovich [ svoj ] |
Labels | contr |
Labels | contr |
Affects Version/s | 5.5 [ 15800 ] |
Fix Version/s | 5.5 [ 15800 ] |
Labels | foundation |
Priority | Critical [ 2 ] | Major [ 3 ] |
Link |
This issue includes |
Labels | foundation | foundation need_feedback |
Remote Link | This issue links to "opensuse bug 1080891 (Web Link)" [ 28404 ] |
Assignee | Sergey Vojtovich [ svoj ] | Vicentiu Ciorbaru [ cvicentiu ] |
Labels | foundation need_feedback | foundation |
Assignee | Vicentiu Ciorbaru [ cvicentiu ] | Robert Bindar [ robertbindar ] |
Workflow | MariaDB v3 [ 70329 ] | MariaDB v4 [ 143464 ] |
Link |
This issue is blocked by |
Component/s | N/A [ 14411 ] | |
Fix Version/s | 10.2.42 [ 26803 ] | |
Fix Version/s | 10.3.33 [ 26805 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.4.23 [ 26807 ] | |
Fix Version/s | 10.5.14 [ 26809 ] | |
Fix Version/s | 10.6.6 [ 26811 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Fix Version/s | 10.1 [ 16100 ] |
It has to be said that the patches should be inspected before applying. It can happen that not all of them will be necessary or you may find some of them inconvenient. So please don't forget to review them. Thank you.