Fix incorrectly initialized character array
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
Google's Address Sanitizer detected the following array out of bounds bug (http://
The log_warnings_
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index 4c98bed..76e3d7a 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -1597,7 +1597,7 @@ static Sys_var_uint Sys_port(
READ_ONLY GLOBAL_
-const char *log_warnings_
+const char *log_warnings_
static Sys_var_set Sys_log_
"disable logging of enumerated warnings: "