Skip to content
Snippets Groups Projects
Commit 19a6a0a5 authored by Vladimir Davydov's avatar Vladimir Davydov
Browse files

vinyl: fix crash if iterator is used throughout DDL

vy_run_iterator doesn't take a reference to the format it uses to decode
statements loaded from disk. As a result, the format may be deleted by
DDL, leading to a use-after-free bug. Fix this by taking a reference to
the format used by an iterator.

Closes #4000
parent 36e636dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment