Commit aa2869a3 authored by hf@deer.(none)'s avatar hf@deer.(none)

Fix for memory overlap in rt_split.c (reported by valgrind)

parent 15c8f377
......@@ -326,6 +326,7 @@ int rtree_split_page(MI_INFO *info, MI_KEYDEF *keyinfo, uchar *page, uchar *key,
cur2 = rt_PAGE_NEXT_KEY(cur2, key_length, nod_flag);
++n2;
}
if (to != cur->key)
memcpy(to - nod_flag, cur->key - nod_flag, full_length);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment