diff options
author | Vlad Lesin <vlad_lesin@mail.ru> | 2019-06-20 23:37:28 +0300 |
---|---|---|
committer | Vlad Lesin <vlad_lesin@mail.ru> | 2019-06-26 11:36:45 +0300 |
commit | 6d2b2365682d9b85d4df30f02e07301c3b11caba (patch) | |
tree | ca6ddc0aa326ede8637a48ef333510a57a700180 /extra/mariabackup | |
parent | 7a2958f456616991e649c8c2315cec7184e466ff (diff) | |
download | mariadb-git-6d2b2365682d9b85d4df30f02e07301c3b11caba.tar.gz |
MDEV-19865: AddressSanitizer error in open_or_create_log_file() in mariabackup
Decrease array on stack in open_or_create_log_file() to avoid stack overflow.
Diffstat (limited to 'extra/mariabackup')
-rw-r--r-- | extra/mariabackup/xtrabackup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/mariabackup/xtrabackup.cc b/extra/mariabackup/xtrabackup.cc index 4163fd1d210..524aed6cd5a 100644 --- a/extra/mariabackup/xtrabackup.cc +++ b/extra/mariabackup/xtrabackup.cc @@ -3798,7 +3798,7 @@ open_or_create_log_file( fil_space_t* space, ulint i) /*!< in: log file number in group */ { - char name[10000]; + char name[FN_REFLEN]; ulint dirnamelen; os_normalize_path(srv_log_group_home_dir); |