From 2265618168587fcaf0691917f9d27c2545642c29 Mon Sep 17 00:00:00 2001 From: Sergei Shtepa Date: Fri, 26 Jan 2024 12:07:54 +0100 Subject: [PATCH] fix an empty CBT bug --- lib/blksnap/Tracker.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/blksnap/Tracker.cpp b/lib/blksnap/Tracker.cpp index 7795c05..51ed5b8 100644 --- a/lib/blksnap/Tracker.cpp +++ b/lib/blksnap/Tracker.cpp @@ -90,6 +90,7 @@ void CTracker::ReadCbtMap(unsigned int offset, unsigned int length, uint8_t* buf { struct blksnap_cbtmap arg = { .offset = offset, + .length = length, .buffer = (__u64)buff }; struct blkfilter_ctl ctl = {