[Commits] 3a6283cb3cc: Fix out of array access.
6 Apr
2018
6 Apr
'18
5:48 a.m.
revision-id: 3a6283cb3cc0d17a028cd962e308a6094e29516c (mariadb-10.1.32-24-g3a6283cb3cc) parent(s): afbd45a791a4a8cde19e0b3d5b883f79a2ccc305 author: Jan Lindström committer: Jan Lindström timestamp: 2018-04-06 08:48:11 +0300 message: Fix out of array access. --- client/mysqltest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 77584e70afe..734b263df66 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -1462,7 +1462,7 @@ void free_used_memory() dynstr_free(&(*q)->content); my_free((*q)); } - for (i= 0; i < 12; i++) + for (i= 0; i < 10; i++) { if (var_reg[i].alloced_len) my_free(var_reg[i].str_val);
2484
Age (days ago)
2484
Last active (days ago)
0 comments
1 participants
participants (1)
-
jan