Commit 6d2b2365 authored by Vlad Lesin's avatar Vlad Lesin

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.
parent 7a2958f4
...@@ -3798,7 +3798,7 @@ open_or_create_log_file( ...@@ -3798,7 +3798,7 @@ open_or_create_log_file(
fil_space_t* space, fil_space_t* space,
ulint i) /*!< in: log file number in group */ ulint i) /*!< in: log file number in group */
{ {
char name[10000]; char name[FN_REFLEN];
ulint dirnamelen; ulint dirnamelen;
os_normalize_path(srv_log_group_home_dir); os_normalize_path(srv_log_group_home_dir);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment