mirror of
https://github.com/MariaDB/server.git
synced 2025-11-25 17:25:02 +03:00
row_vers_impl_x_locked_low(): clust_offsets may point to memory
that is allocated by mem_heap_alloc() and may have been freed.
For initializing clust_offsets, try to use the stack-allocated
buffer instead of a pointer that may point to freed memory.
This fixes a regression that was introduced in
commit f0aa073f2b (MDEV-20950).
1.6 KiB
1.6 KiB