diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2023-01-31 09:31:42 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2023-01-31 09:31:42 +0100 |
commit | c3a5cf2b5bb0c0e1623a0ddc8e3d49557f35e800 (patch) | |
tree | 0e47046f09c1ad4a4223e45d7ac2c41406272b92 /sql/mysql_install_db.cc | |
parent | 81196469bbc6b8424c97a378e5fc5b16d40b43b5 (diff) | |
parent | f8a85af8ca1c937b8d4f847477bd282f80251cde (diff) | |
download | mariadb-git-c3a5cf2b5bb0c0e1623a0ddc8e3d49557f35e800.tar.gz |
Merge branch '10.5' into 10.6
Diffstat (limited to 'sql/mysql_install_db.cc')
-rw-r--r-- | sql/mysql_install_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysql_install_db.cc b/sql/mysql_install_db.cc index 1e79e6444ff..aa83ad87588 100644 --- a/sql/mysql_install_db.cc +++ b/sql/mysql_install_db.cc @@ -311,7 +311,7 @@ static char *get_plugindir() { static char plugin_dir[2*MAX_PATH]; get_basedir(plugin_dir, sizeof(plugin_dir), mysqld_path, '/'); - strcat(plugin_dir, "/" STR(INSTALL_PLUGINDIR)); + safe_strcat(plugin_dir, sizeof(plugin_dir), "/" STR(INSTALL_PLUGINDIR)); if (access(plugin_dir, 0) == 0) return plugin_dir; |