mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix out of array access.
This commit is contained in:
@@ -1462,7 +1462,7 @@ void free_used_memory()
|
|||||||
dynstr_free(&(*q)->content);
|
dynstr_free(&(*q)->content);
|
||||||
my_free((*q));
|
my_free((*q));
|
||||||
}
|
}
|
||||||
for (i= 0; i < 12; i++)
|
for (i= 0; i < 10; i++)
|
||||||
{
|
{
|
||||||
if (var_reg[i].alloced_len)
|
if (var_reg[i].alloced_len)
|
||||||
my_free(var_reg[i].str_val);
|
my_free(var_reg[i].str_val);
|
||||||
|
Reference in New Issue
Block a user