Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gossmap: don't crash if we hit a zero-length record.
We have a report of this happening under ZFS. We cannot do much if this really is a problem where we can't read back what we write, but this avoids the immediate crash. Fixes: ElementsProject#7971 Signed-off-by: Rusty Russell <[email protected]> Changelog-Fixed: gossmap: occasional crash (at least on ZFS) reading gossip_store.
- Loading branch information