Skip to content
Snippets Groups Projects
Commit a2a82803 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

vinyl: fix double free in cache iterator restore

We drop a reference to itr->curr_stmt before restoring the iterator
position so we must not drop it while iterating over the cache tree.
This mistake results in funky crashes in various places, e.g. in
vy_stmt_compare(). Shame on me: I missed that during self review.

Fixes: 073c8d07 ("vinyl: rework cache iterator restore")
parent 4fed8854
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