Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d152c92 authored by David Anderson's avatar David Anderson Committed by Gerrit Code Review
Browse files

Merge "libsnapshot: Fix broken iterator in CompressedSnapshotReader."

parents d021544d 4137dee0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@ bool CompressedSnapshotReader::SetCow(std::unique_ptr<CowReader>&& cow) {
    while (!op_iter_->Done()) {
        const CowOperation* op = &op_iter_->Get();
        if (op->type == kCowLabelOp || op->type == kCowFooterOp) {
            op_iter_->Next();
            continue;
        }
        if (op->new_block >= ops_.size()) {