shithub: gefs

Download patch

ref: cb88262dcfd151367d2a168f2b88034132ddc6c4
parent: 5f4bc3535731f025153ee9b21af7fb8cbf8c3fc6
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Dec 7 13:35:54 EST 2023

tree: check for nil block at tail of path

when scanning a tree, we may be at the end of the values,
but not at the end of the messages during our first iter
of the scan; in this case, we don't load up the blocks
in the path, which can lead to a crash. This bug can also
manifest persistently, which can make a file system that's
not corrupt appear scratched.