mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
fix buffer overrun
This commit is contained in:
parent
3889b19f54
commit
e1385f2083
1 changed files with 1 additions and 1 deletions
|
@ -2849,7 +2849,7 @@ void __attribute__ ((constructor)) audit_plugin_so_init(void)
|
|||
}
|
||||
|
||||
memset(locinfo_ini_value, 'O', sizeof(locinfo_ini_value)-1);
|
||||
locinfo_ini_value[sizeof(locinfo_ini_value)]= 0;
|
||||
locinfo_ini_value[sizeof(locinfo_ini_value)-1]= 0;
|
||||
|
||||
exit:
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Reference in a new issue