Skip to content
Permalink
Browse files

MDEV-20097 potential use-after-free

row_merge_read_clustered_index(): fix one more place with buf and merge_buf[i]
  • Loading branch information...
kevgs committed Jul 19, 2019
1 parent 6a55aeb commit 9c29d068627313d29621adc53be4620e8257e805
Showing with 1 addition and 0 deletions.
  1. +1 −0 storage/innobase/row/row0merge.cc
@@ -2431,6 +2431,7 @@ row_merge_read_clustered_index(
BTR_SEARCH_LEAF, &pcur,
&mtr);
buf = row_merge_buf_empty(buf);
merge_buf[i] = buf;
/* Restart the outer loop on the
record. We did not insert it
into any index yet. */

0 comments on commit 9c29d06

Please sign in to comment.
You can’t perform that action at this time.